mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 10:06:35 +03:00
Add DAP multi-session support and add Node.js debugging support.
This commit is contained in:
@@ -1204,8 +1204,9 @@ void App::loadFileFromPathOrFocus(
|
||||
}
|
||||
}
|
||||
|
||||
void App::focusOrLoadFile( const std::string& path, const TextRange& range ) {
|
||||
UITab* tab = mSplitter->isDocumentOpen( path, true );
|
||||
void App::focusOrLoadFile( const std::string& path, const TextRange& range,
|
||||
bool searchInSameContext ) {
|
||||
UITab* tab = mSplitter->isDocumentOpen( path, searchInSameContext );
|
||||
if ( !tab ) {
|
||||
FileInfo fileInfo( path );
|
||||
if ( fileInfo.exists() && fileInfo.isRegularFile() )
|
||||
|
||||
Reference in New Issue
Block a user