aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PerLine.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-04-22 13:20:43 +0000
committernyamatongwe <unknown>2009-04-22 13:20:43 +0000
commit865a213a8879baab1c67069ab1d2eae63deeea4b (patch)
tree98a6077613b017d50a85e1330092143920b4fa22 /src/PerLine.h
parentec2c38b2d808c46207aebb0c8642ecc42f641bc5 (diff)
downloadscintilla-mirror-865a213a8879baab1c67069ab1d2eae63deeea4b.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;
};