Added Variant "String" support.

Added panel location configuration (left or right).
Added default key modifier (CTRL on Linux and windows, META on macOS, ALT on Haiku).
Optimized GlobalSearchController.
Allow using $FILENAME in linter warning pattern.
Optimized ProjectSearch.
Added TextDocument delete on close option (default for temporal files downloaded from the Internet).
This commit is contained in:
Martín Lucas Golini
2022-03-20 15:04:07 -03:00
parent a0a3674312
commit 375d1e66e8
36 changed files with 374 additions and 198 deletions

View File

@@ -24,6 +24,10 @@ class FormatterModule : public UICodeEditorModule {
void onUnregister( UICodeEditor* );
bool getAutoFormatOnSave() const;
void setAutoFormatOnSave( bool autoFormatOnSave );
protected:
enum class FormatterType { Inplace, Output };
@@ -36,8 +40,9 @@ class FormatterModule : public UICodeEditorModule {
std::shared_ptr<ThreadPool> mPool;
std::vector<Formatter> mFormatters;
std::set<UICodeEditor*> mEditors;
bool mClosing{ false };
bool mAutoFormatOnSave{ false };
bool mClosing{ false };
bool mReady{ false };
void load( const std::string& formatterPath );