Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Scintilla 3.7.5 update

<< < (6/6)

oBFusCATed:
This is not a good idea. But thanks for mentioning this problem.

oBFusCATed:
@darmar: Can you apply this patch to FortranProject?


--- Code: ---Index: constrhighlighter.cpp
===================================================================
--- constrhighlighter.cpp       (revision 186)
+++ constrhighlighter.cpp       (working copy)
@@ -305,7 +305,7 @@
         return;

     control->SetIndicatorCurrent(m_IndicFound);
-    control->IndicatorSetStyle(m_IndicFound, wxSCI_INDIC_HIGHLIGHT);
+    control->IndicatorSetStyle(m_IndicFound, wxSCI_INDIC_ROUNDBOX);
     if (foundFull)
         control->IndicatorSetForeground(m_IndicFound, m_FullColour);
     else

--- End code ---

wxSCI_INDIC_ROUNDBOX seems to produce this same visuals as the wxSCI_INDIC_HIGHLIGHT.
I'd prefer if I don't have to resurrect the wxSCI_INDIC_HIGHLIGHT patch for scintilla/wxscintilla.

gd_on:
svn 11337 looks OK, without and with your proposed patch. So waiting for Darmar advice.
Thanks.
gd_on

darmar:
I just updated FortranProject code to use wxSCI_INDIC_ROUNDBOX indicator style.

@oBFusCATed, @gd_on: sorry for the late response. I am not very active in reading every post. Better drop a personal message in such situations.

Navigation

[0] Message Index

[*] Previous page

Go to full version