mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 01:56:31 +03:00
Fixed an old bug in syntax highlighting that sometimes the first line of the file was not correctly highlighted.
Added Svelte syntax highlighting support. Improved CSS syntax highlighting. Added "Open All Files in Folder" option when right click a folder in the folder tree view.
This commit is contained in:
@@ -2153,6 +2153,10 @@ void SettingsMenu::createProjectTreeMenu( const FileInfo& file ) {
|
||||
mProjectTreeMenu
|
||||
->add( i18n( "open_folder_ellipsis", "Open Folder..." ), findIcon( "folder-open" ) )
|
||||
->setId( "open_folder" );
|
||||
mProjectTreeMenu
|
||||
->add( i18n( "open_all_files_in_folder", "Open All Files in Folder" ),
|
||||
findIcon( "folder-open" ) )
|
||||
->setId( "open_all_files_in_folder" );
|
||||
} else {
|
||||
if ( file.isRegularFile() ) {
|
||||
auto curDir( mApp->getCurrentWorkingDir() );
|
||||
@@ -2260,6 +2264,8 @@ void SettingsMenu::createProjectTreeMenu( const FileInfo& file ) {
|
||||
Engine::instance()->openURI( file.getDirectoryPath() );
|
||||
} else if ( "open_folder" == id ) {
|
||||
Engine::instance()->openURI( file.getFilepath() );
|
||||
} else if ( "open_all_files_in_folder" == id ) {
|
||||
mApp->openAllFilesInFolder( file );
|
||||
} else if ( "show-hidden-files" == id ) {
|
||||
mApp->toggleHiddenFiles();
|
||||
} else if ( "execute_in_terminal" == id ) {
|
||||
|
||||
Reference in New Issue
Block a user