+
+ TextPropertySize = iter->size();
+
+ if (TextPropertySize == 0){
+
+ // Text property size is 0. Go to the next
+ // pair.
+
+ continue;
+
+ }
+
+ // Get the property data up to the first semi-colon.
+
+ while (TextSeekCount < TextPropertySize){
+
+ BufferChar = (*iter)[TextSeekCount];
+
+ if (BufferChar == ';'){
+ break;
+ }
+
+ PropertyName += BufferChar;
+
+ TextSeekCount++;
+
+ }
+
+ if (*iter == Property || PropertyName == Property){