diff --git a/TextEditor.cpp b/TextEditor.cpp index 1cc3e108..af14cc11 100644 --- a/TextEditor.cpp +++ b/TextEditor.cpp @@ -30,6 +30,8 @@ TextEditor::~TextEditor() { } +int TextEditor::GetLineCount() const { return mLines.size(); } + void TextEditor::SetPalette(PaletteId aValue) { mPaletteId = aValue; diff --git a/TextEditor.h b/TextEditor.h index 19ad61bd..0f8c074d 100644 --- a/TextEditor.h +++ b/TextEditor.h @@ -43,7 +43,7 @@ class IMGUI_API TextEditor inline bool IsShowLineNumbersEnabled() const { return mShowLineNumbers; } inline void SetShortTabsEnabled(bool aValue) { mShortTabs = aValue; } inline bool IsShortTabsEnabled() const { return mShortTabs; } - inline int GetLineCount() const { return mLines.size(); } + int GetLineCount() const; void SetPalette(PaletteId aValue); PaletteId GetPalette() const { return mPaletteId; } void SetLanguageDefinition(LanguageDefinitionId aValue);