aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PerLine.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-04-22 13:20:43 +0000
committernyamatongwe <devnull@localhost>2009-04-22 13:20:43 +0000
commit24796f9cd61426321ec102e1b795cd92e7a4f7e8 (patch)
tree98a6077613b017d50a85e1330092143920b4fa22 /src/PerLine.h
parentd6c9b390a51a0d861bf2d3e5b399fc8fd77f18b4 (diff)
downloadscintilla-mirror-24796f9cd61426321ec102e1b795cd92e7a4f7e8.tar.gz
Removed Document methods that returned parts of annotations in favour of
methods that return StyledText objects. Provided LineLength call on StyledText rather than iterator objects. Simplified code and made more things const.
Diffstat (limited to 'src/PerLine.h')
-rw-r--r--src/PerLine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PerLine.h b/src/PerLine.h
index 471219131..8d707bff6 100644
--- a/src/PerLine.h
+++ b/src/PerLine.h
@@ -93,11 +93,11 @@ public:
bool MultipleStyles(int line) const;
int Style(int line);
const char *Text(int line) const;
- const char *Styles(int line) const;
+ const unsigned char *Styles(int line) const;
void SetText(int line, const char *text);
void ClearAll();
void SetStyle(int line, int style);
- void SetStyles(int line, const char *styles);
+ void SetStyles(int line, const unsigned char *styles);
int Length(int line) const;
int Lines(int line) const;
};