diff options
Diffstat (limited to 'include/WindowAccessor.h')
-rw-r--r-- | include/WindowAccessor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/WindowAccessor.h b/include/WindowAccessor.h index 567c47894..89a542e82 100644 --- a/include/WindowAccessor.h +++ b/include/WindowAccessor.h @@ -33,7 +33,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_; }; |