Set the cursor color for the split window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4113 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
aa85bcec6a
commit
e3076fc1c0
@ -2,6 +2,8 @@
|
||||
|
||||
* doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
|
||||
Add geanyfunctions.h to API docs.
|
||||
* plugins/splitwindow.c:
|
||||
Set the cursor color for the split window.
|
||||
|
||||
|
||||
2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
@ -97,11 +97,10 @@ static gint sci_get_value(ScintillaObject *sci, gint message_id, gint param)
|
||||
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 @@ static void set_styles(ScintillaObject *oldsci, ScintillaObject *newsci)
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user