mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 09:04:43 +00:00
Tries harder to find include files for double-clicking
This commit is contained in:
parent
0d92432fbf
commit
35eac42235
1 changed files with 4 additions and 1 deletions
|
@ -2768,6 +2768,7 @@ FUNCTION ide2 (ignore)
|
||||||
'a separate instance of QB64:
|
'a separate instance of QB64:
|
||||||
p$ = idepath$ + pathsep$
|
p$ = idepath$ + pathsep$
|
||||||
f$ = p$ + ActiveINCLUDELinkFile
|
f$ = p$ + ActiveINCLUDELinkFile
|
||||||
|
IF _FILEEXISTS(f$) = 0 THEN f$ = ActiveINCLUDELinkFile
|
||||||
IF _FILEEXISTS(f$) THEN
|
IF _FILEEXISTS(f$) THEN
|
||||||
backupIncludeFile = FREEFILE
|
backupIncludeFile = FREEFILE
|
||||||
OPEN f$ FOR BINARY AS #backupIncludeFile
|
OPEN f$ FOR BINARY AS #backupIncludeFile
|
||||||
|
@ -8258,7 +8259,9 @@ SUB ideshowtext
|
||||||
ActiveINCLUDELinkFile = MID$(a$, FindApostrophe1 + 1, FindApostrophe2 - FindApostrophe1 - 1)
|
ActiveINCLUDELinkFile = MID$(a$, FindApostrophe1 + 1, FindApostrophe2 - FindApostrophe1 - 1)
|
||||||
p$ = idepath$ + pathsep$
|
p$ = idepath$ + pathsep$
|
||||||
f$ = p$ + ActiveINCLUDELinkFile
|
f$ = p$ + ActiveINCLUDELinkFile
|
||||||
IF _FILEEXISTS(f$) THEN a$ = a$ + " --> Double-click to open": ActiveINCLUDELink = idecy
|
IF _FILEEXISTS(f$) OR _FILEEXISTS(ActiveINCLUDELinkFile) THEN
|
||||||
|
a$ = a$ + " --> Double-click to open": ActiveINCLUDELink = idecy
|
||||||
|
END IF
|
||||||
END IF
|
END IF
|
||||||
'ELSE
|
'ELSE
|
||||||
' temp_a$ = idegetline(idecy)
|
' temp_a$ = idegetline(idecy)
|
||||||
|
|
Loading…
Reference in a new issue