Files
eepp/src/tools/ecode/settingsactions.hpp
Martín Lucas Golini 8eed5fcd58 Add configurable Tab Out support
Add an optional Tab Out behavior that moves a single cursor past configured trailing characters when pressing Tab. Expose the feature in Global Document Settings, keep it disabled by default, persist its configuration, and preserve existing selection and multi-cursor indentation behavior (SpartanJ/ecode#951).
2026-08-21 11:35:35 -03:00

62 lines
1.1 KiB
C++

#ifndef SETTINGSACTIONS_HPP
#define SETTINGSACTIONS_HPP
#include <eepp/ee.hpp>
namespace ecode {
class App;
class SettingsActions {
public:
explicit SettingsActions( App* app ) : mApp( app ) {}
void checkForUpdates( bool fromStartup = false );
void aboutEcode();
void ecodeSource();
void setLineBreakingColumn();
void setLineSpacing();
void setCursorBlinkingTime();
void setIndentTabCharacter();
void setTabOutChars();
void setFoldRefreshFreq();
void setUIScaleFactor();
void setUIFontSize();
void setUIFontSize( const StyleSheetLength& size );
void setEditorFontSize();
void setEditorFontSize( const StyleSheetLength& size );
void setTerminalFontSize();
void setTerminalFontSize( const StyleSheetLength& size );
void setUIPanelFontSize();
void setScreenshotSavePath();
void setScreenshotFilenamePattern();
void setScreenshotSaveFormat();
private:
App* mApp{ nullptr };
String i18n( const std::string& key, const String& def );
void checkForUpdatesResponse( Http::Response&& response, bool fromStartup );
};
} // namespace ecode
#endif