@freinquin commented on this pull request.


> +             styler.ColourTo(endPos, SCE_SINEX_DEFAULT);
+       }
+}
+
+
+// Colourization logic for a whole area
+// The area is split into lines which are separately processed
+void ColouriseSinexDoc(Sci_PositionU startPos, Sci_Position length, int, 
WordList *[], Accessor &styler) {
+    // initStyle not needed as each line is independent
+       std::string lineBuffer;
+       styler.StartAt(startPos);
+       styler.StartSegment(startPos);
+       Sci_PositionU startLine = startPos;
+
+       for (Sci_PositionU i = startPos; i < startPos + length; i++) {
+               lineBuffer.push_back(styler[i]);

Thanks !

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

Message ID: <geany/geany/pull/4449/review/[email protected]>

Reply via email to