mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-01 02:56:28 +03:00
TextDocument::remove optimization.
UILinearLayout fixed WrapContent with padding. UITextEdit fixed font color. Code Editor: Change pixel density from the UI. Display current line-collumn and document line count.
This commit is contained in:
@@ -64,6 +64,7 @@ struct CodeEditorConfig {
|
||||
bool colorPickerSelection{false};
|
||||
bool colorPreview{false};
|
||||
bool autoComplete{true};
|
||||
bool showDocInfo{true};
|
||||
int indentWidth{4};
|
||||
int tabWidth{4};
|
||||
int lineBreakingColumn{100};
|
||||
@@ -141,6 +142,8 @@ class App : public UICodeEditorSplitter::Client {
|
||||
UITextView* mSettingsButton{nullptr};
|
||||
UIPopUpMenu* mColorSchemeMenu{nullptr};
|
||||
UIPopUpMenu* mFiletypeMenu{nullptr};
|
||||
UILinearLayout* mDocInfo{nullptr};
|
||||
UITextView* mDocInfoText{nullptr};
|
||||
IniFile mIni;
|
||||
IniFile mIniState;
|
||||
std::vector<std::string> mRecentFiles;
|
||||
@@ -220,9 +223,15 @@ class App : public UICodeEditorSplitter::Client {
|
||||
|
||||
void onDocumentSelectionChange( UICodeEditor* editor, TextDocument& );
|
||||
|
||||
void onDocumentCursorPosChange( UICodeEditor* editor, TextDocument& );
|
||||
|
||||
void onCodeEditorFocusChange( UICodeEditor* editor );
|
||||
|
||||
bool setAutoComplete( bool enable );
|
||||
|
||||
void updateDocInfo( TextDocument& doc );
|
||||
|
||||
void setFocusEditorOnClose( UIMessageBox* msgBox );
|
||||
};
|
||||
|
||||
#endif // EE_TOOLS_CODEEDITOR_HPP
|
||||
|
||||
Reference in New Issue
Block a user