Improvements when opening binary files from drag and drop and from the tree-view (SpartanJ/ecode#589).

Fixes a bug that prevented signature help to not be displayed.
This commit is contained in:
Martín Lucas Golini
2025-07-13 19:22:31 -03:00
parent 8a8384ca59
commit 2df4e88836
8 changed files with 152 additions and 26 deletions

View File

@@ -37,9 +37,11 @@ struct DocumentContentChange {
class EE_API TextDocument {
public:
static bool isTextDocummentCommand( std::string_view cmd );
static bool isTextDocummentCommand( std::string_view cmd );
static bool isTextDocummentCommand( String::HashType cmdHash );
static bool isTextDocummentCommand( String::HashType cmdHash );
static bool fileMightBeBinary( const std::string& file );
enum class UndoRedo { Undo, Redo };