Revision: 4561 http://geany.svn.sourceforge.net/geany/?rev=4561&view=rev Author: eht16 Date: 2010-01-25 21:16:07 +0000 (Mon, 25 Jan 2010)
Log Message: ----------- Backport from trunk: Set the cursor color for the split window.
Modified Paths: -------------- branches/geany-0.18.1/ChangeLog branches/geany-0.18.1/plugins/splitwindow.c
Modified: branches/geany-0.18.1/ChangeLog =================================================================== --- branches/geany-0.18.1/ChangeLog 2010-01-25 21:15:57 UTC (rev 4560) +++ branches/geany-0.18.1/ChangeLog 2010-01-25 21:16:07 UTC (rev 4561) @@ -1,3 +1,9 @@ +2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * plugins/splitwindow.c: + Set the cursor color for the split window. + + 2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Modified: branches/geany-0.18.1/plugins/splitwindow.c =================================================================== --- branches/geany-0.18.1/plugins/splitwindow.c 2010-01-25 21:15:57 UTC (rev 4560) +++ branches/geany-0.18.1/plugins/splitwindow.c 2010-01-25 21:16:07 UTC (rev 4561) @@ -97,11 +97,10 @@ static void set_styles(ScintillaObject *oldsci, ScintillaObject *newsci) { gint style_id; + gint val;
for (style_id = 0; style_id <= 127; style_id++) { - gint val; - val = sci_get_value(oldsci, SCI_STYLEGETFORE, style_id); scintilla_send_message(newsci, SCI_STYLESETFORE, style_id, val); val = sci_get_value(oldsci, SCI_STYLEGETBACK, style_id); @@ -111,6 +110,8 @@ val = sci_get_value(oldsci, SCI_STYLEGETITALIC, style_id); scintilla_send_message(newsci, SCI_STYLESETITALIC, style_id, val); } + val = sci_get_value(oldsci, SCI_GETCARETFORE, 0); + scintilla_send_message(newsci, SCI_SETCARETFORE, val, 0); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.