LarsGit223 commented on this pull request.


> +     if (end > max)
+       {
+               end = max;
+       }
+
+       /* Get text in range and examine it */
+       subtext = sci_get_contents_range(doc->editor->sci, start, end);
+       if (subtext != NULL)
+       {
+               pos = pos - start;
+               color = contains_color_value(subtext, pos, 1);
+               g_free(subtext);
+       }
+
+       return color;
+}

Thanks, used your code snippet.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/664#discussion_r161872107

Reply via email to