diff options
author | Neil <nyamatongwe@gmail.com> | 2019-06-22 11:37:23 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-06-22 11:37:23 +1000 |
commit | 39a55b921ece0756cdd1845e034a65633da07a64 (patch) | |
tree | 97c88624e0813955a987ad7c4bf3ca346fe205fa /gtk | |
parent | bc02d0c442355ca6bd20893749664a44584f25ef (diff) | |
download | scintilla-mirror-39a55b921ece0756cdd1845e034a65633da07a64.tar.gz |
Feature [feature-requests:#1297] Update to use INDICATOR_ instead of INDIC_ as
INDIC_ is also used for indicator styles.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/ScintillaGTK.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index f138da131..3b1972880 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -91,10 +91,10 @@ #define IS_WIDGET_REALIZED(w) (gtk_widget_get_realized(GTK_WIDGET(w))) #define IS_WIDGET_MAPPED(w) (gtk_widget_get_mapped(GTK_WIDGET(w))) -#define SC_INDICATOR_INPUT INDIC_IME -#define SC_INDICATOR_TARGET INDIC_IME+1 -#define SC_INDICATOR_CONVERTED INDIC_IME+2 -#define SC_INDICATOR_UNKNOWN INDIC_IME_MAX +#define SC_INDICATOR_INPUT INDICATOR_IME +#define SC_INDICATOR_TARGET INDICATOR_IME+1 +#define SC_INDICATOR_CONVERTED INDICATOR_IME+2 +#define SC_INDICATOR_UNKNOWN INDICATOR_IME_MAX static GdkWindow *WindowFromWidget(GtkWidget *w) noexcept { return gtk_widget_get_window(w); @@ -2261,7 +2261,7 @@ void ScintillaGTK::DrawImeIndicator(int indicator, int len) { // Draw an indicator on the character before caret by the character bytes of len // so it should be called after InsertCharacter(). // It does not affect caret positions. - if (indicator < 8 || indicator > INDIC_MAX) { + if (indicator < 8 || indicator > INDICATOR_MAX) { return; } pdoc->DecorationSetCurrentIndicator(indicator); |