From 6e0886a5056dea51dda45684f5753569e2723daa Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 18 Apr 2000 13:26:25 +0000 Subject: Removed PropSet from Accessor interface. Indenting and horizontal scroll bar messages. Fixed undo grouping bug. Vertical scrolling can be performed with Ctrl+ arrows --- src/DocumentAccessor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/DocumentAccessor.h') diff --git a/src/DocumentAccessor.h b/src/DocumentAccessor.h index ab11544e2..37a9db414 100644 --- a/src/DocumentAccessor.h +++ b/src/DocumentAccessor.h @@ -35,7 +35,9 @@ public: void Flush(); int GetLineState(int line); int SetLineState(int line, int state); - PropSet &GetPropSet() { return props; } + int GetPropertyInt(const char *key, int defaultValue=0) { + return props.GetInt(key, defaultValue); + } void StartAt(unsigned int start, char chMask=31); void SetFlags(char chFlags_, char chWhile_) {chFlags = chFlags_; chWhile = chWhile_; }; -- cgit v1.2.3