aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-07-19 10:42:50 +1000
committerNeil <nyamatongwe@gmail.com>2014-07-19 10:42:50 +1000
commitc995ec683d9fd296097740d3c60e833621f24f5b (patch)
treef30a62970c933a738fb398c08b44ab70ade3fce2 /src/Editor.h
parentca7b9e66fc519cae98fd0e8eac04f5e81ef6584c (diff)
downloadscintilla-mirror-c995ec683d9fd296097740d3c60e833621f24f5b.tar.gz
Using const for string argument to allow use with literals.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h
index be89bfd3a..f36cb9b99 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -386,7 +386,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
void FilterSelections();
int InsertSpace(int position, unsigned int spaces);
void AddChar(char ch);
- virtual void AddCharUTF(char *s, unsigned int len, bool treatAsDBCS=false);
+ virtual void AddCharUTF(const char *s, unsigned int len, bool treatAsDBCS=false);
void InsertPaste(const char *text, int len);
enum PasteShape { pasteStream=0, pasteRectangular = 1, pasteLine = 2 };
void InsertPasteShape(const char *text, int len, PasteShape shape);