Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions TextEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ TextEditor::~TextEditor()
{
}

int TextEditor::GetLineCount() const { return mLines.size(); }

void TextEditor::SetPalette(PaletteId aValue)
{
mPaletteId = aValue;
Expand Down
2 changes: 1 addition & 1 deletion TextEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down