1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 10:00:22 +00:00
Commit graph

75 commits

Author SHA1 Message Date
FellippeHeitor 5e53786255 Implements "Skip Line"
Ctrl+P to set line to skip.
Ctrl+Line Click to set line to skip with mouse.
2021-07-20 02:50:54 -03:00
FellippeHeitor bb032b6b75 Adds View->Call stack. 2021-07-19 17:12:48 -03:00
FellippeHeitor c27d20590f Allows navigating the code while in $DEBUG mode. Also:
- An arrow now indicates the line that will be run next when in Pause mode.
- F2 can trigger the SUBs dialog while in $DEBUG mode.
2021-07-19 14:55:27 -03:00
FellippeHeitor de236d4a5f Uses ENVIRON to set send the port number to the debuggee. Also:
- Limits sending "call" info to the IDE (not to hog the communication channel)
- Add $INCLUDE info to call stack.
2021-07-19 00:59:54 -03:00
Fellippe Heitor 16b2c82b2f New Debug menu
The IDE now offers to add  when the user attempts to set a breakpoint.
2021-07-15 23:57:54 -03:00
Fellippe Heitor 6fed9ea250 Improves $DEBUG mode connection and operation. 2021-07-13 18:06:32 -03:00
Fellippe Heitor 88ab0369c0 Restores cursor position when navigating with QuickNav. 2021-07-13 00:40:11 -03:00
Fellippe Heitor f204d5685b Attempts to become host when $DEBUG is first detected.
Instead of waiting for F5.
2021-07-12 12:54:23 -03:00
Fellippe Heitor 19219dbfe5 $DEBUG mode now in working state.
F9 (or clicking a line number) will toggle a breakpoint; When running a 
program, F8 will pause/step line by line, F9 will still be usable to 
toggle breakpoints and F5 will continue execution. ESC exits $DEBUG 
mode.
2021-07-11 21:05:03 -03:00
Fellippe Heitor 1c5711f15e Retreats 'shift+enter to close block'.
Until a more efficient approach comes up, at least.
2021-02-08 10:58:02 -03:00
Fellippe Heitor baf8e70de4 Tweaks File menu to show more recent files.
With links (numbers) to open said recent files.
2021-02-06 05:22:53 -03:00
Fellippe Heitor 63b0bd777a Shows description of menu items in the status bar. 2021-02-06 03:44:31 -03:00
Fellippe Heitor a6fe260a5e Adds item in Options menu to disable auto-complete.
Fixes IgnoreWarnings not being saved in macOS/Linux.
2021-02-04 23:48:14 -03:00
Fellippe Heitor 70ea149168 Offers to auto-close blocks with Shift+ENTER 2021-02-04 22:21:31 -03:00
FellippeHeitor 1115ca269e Dead code removal. 2021-01-19 00:24:06 -03:00
FellippeHeitor d1acd48e32 Adds version number to status bar. Also:
Allows clicking the status bar Version and Line number to open the About and the "Go to line"  dialogs.
2021-01-18 18:22:00 -03:00
FellippeHeitor 46b3e05380 Separates the list of keywords to highlight from ide_globals. 2021-01-17 12:03:31 -03:00
FellippeHeitor 032dd33b6f Adds ability to search only in comments and strings. 2021-01-06 02:17:19 -03:00
FellippeHeitor c88c56330c Adds "Ignore comments" and "Ignore strings" to search. 2021-01-06 00:09:22 -03:00
FellippeHeitor bd54eb0f39 Attempts at implementing _MEMSOUND 2020-12-31 01:40:54 -03:00
FellippeHeitor 529a162816 Allows disabling the Syntax Highlighter entirely (Options menu). Also:
- Disables Syntax Highlighter automatically if rendering takes longer than a second.
2020-12-28 23:35:00 -03:00
Luke Ceddia 3ac1244df5 Add OPTION _EXPLICITARRAY 2020-07-15 21:31:11 +10:00
Fellippe Heitor 016e3d4b73 Merge remote-tracking branch 'origin/font8' into development 2020-01-19 11:24:37 -03:00
FellippeHeitor a114182f8a Allows using _FONT 8 for the IDE 2020-01-18 03:27:51 -03:00
FellippeHeitor e30f19b38a Makes $COLOR constansts an external includable file. 2020-01-18 00:20:54 -03:00
FellippeHeitor 8ac94a3142 Reduces memory usage for $NOPREFIX keyword list + simplifies highlighting. 2020-01-07 07:53:12 -03:00
FellippeHeitor 2ebaeab3c6 Initial implementation of $NOPREFIX
Allows QB64-specific keywords to be called without the leading underscore.

Per user and per project; affects nothing globally.

Allows prefixed keywords to be used even when it's set.
2020-01-04 16:13:13 -03:00
FellippeHeitor 7c9eafbadb Replaces _TOGGLE_(KEY)LOCK with _(KEY)LOCK ON/OFF/_TOGGLE. Also:
- Changes CFont to sub__consolefont and func_CInp to func_cinp, in alignment with the rest of libqb/qbx.
- Adds stubs to all new console functionality, so we can still ship for other OSes with no bigger issues.
- Adds new keywords to syntax highlighter.
2020-01-02 19:55:58 -03:00
FellippeHeitor 2f7510715e Adds $ASSERTS and _ASSERT to syntax highlighter. 2020-01-01 19:03:49 -03:00
FellippeHeitor acb6209206 Fixes incorrect linking functionality of Status Area. 2019-12-29 23:22:22 -03:00
Fellippe Heitor 5bd3d3728b
Merge pull request #112 from QB64Cobalt/development
Added new bit routines to keyword list.
2019-12-17 12:45:03 -03:00
QB64Cobalt 823bc38076
Added new bit routines to keyword list. 2019-12-17 06:58:41 -08:00
FellippeHeitor e74c1fb9e3 Adjusts "Ignore #Warnings" menu item according to +
+ the rest of the menu implementation.
2019-12-07 19:36:43 -03:00
SteveMcNeill 449bdecacd Adding ZLIB into the QB64 parts system for windows.
Two new keywords added:
FUNCTION _INFLATE$ (text$)
FUNCTION _DEFLATE$ (text$)

Use of these commands can compress and decompress strings using the ZLIB library.
2019-08-27 18:22:07 -04:00
FellippeHeitor 3902a36056 New "Compilation status" dialog, for when there are warnings to show. +
- Rewording of menu items;
- New menu item in the View menu to show "Compilation status" dialog;
2019-01-13 03:26:48 -02:00
FellippeHeitor 738c8d9bb5 Removes unused variables declared across qb64.bas and includes. 2019-01-12 21:09:31 -02:00
FellippeHeitor 62599774a1 Adds _SHR/_SHL to keywords list for syntax highlighting. 2018-10-30 00:35:12 -03:00
FellippeHeitor d710b9acce Adds "Enable quick navigation" option in the Search menu. +
Allows disabling the Back arrow when navigating a program.
2018-09-17 22:19:10 -03:00
FellippeHeitor 975408e2ef _DROPPEDFILE$ now takes an optional index parameter.
- Allows using _DROPPEDFILE as an array ranging from 1 TO _TOTALDROPPEDFILES.
- Using _DROPPEDFILE as an array doesn't reset _TOTALDROPPEDFILES (unlike when reading _DROPPEDFILE$ sequentially with no parameter), so it's necessary to call _FINISHDROP after working with the list of dropped files so it'll be reset.
2018-07-31 10:24:52 -03:00
FellippeHeitor ed28f453f0 Adds _TRIM$ (both left and right TRIM). 2018-07-17 02:35:17 -03:00
FellippeHeitor bc6b427a99 Implements _INSTRREV, to search for the last occurence of a substring.
The statement works as INSTR does but starts from the end of the passed string (or from the specified position) and looks for the passed substring while moving backards.

Takes after VBScript's InStrRev: https://www.w3schools.com/asp/func_instrrev.asp

Closes #51
2018-07-15 16:43:12 -03:00
FellippeHeitor 729a1dd465 Adds new keywords to syntax highlighter. 2018-06-29 12:14:08 -03:00
FellippeHeitor 7f075c4779 Adds _CONNECTIONADDRESS without [$] to the syntax highlighter list. 2018-05-30 19:14:01 -03:00
FellippeHeitor fc607aa613 Add Line Number options to submenu in View menu. Also:
- Adds submenus.
- Renamed "Save EXE in the source folder" to "Output EXE to source folder" in Run menu.
- Changed behavior of disabled menu items; instead of closing the menu, do nothing.
2018-01-02 03:11:08 -02:00
FellippeHeitor fb9a54a210 Mouse input adapted to work when line numbers are visible. Also:
Line numbers use the same color assigned to "line highlight".
2017-10-31 03:51:19 -02:00
FellippeHeitor c096896105 Adds -l:line# command line switch to start the ide at a certain line. 2017-10-30 11:23:15 -02:00
FellippeHeitor 88d6911ec9 Add option to toggle Line Numbers from View menu. Also:
- Align line numbers to right;
- Highlight line number of current line;
2017-10-30 11:22:33 -02:00
FellippeHeitor 292dbbf49d Add "Show compilation errors immediately" to Options menu.
By unchecking the new switch in the Options menu, the IDE won't warn and "red-light" every single mistake until you tell it to start compilation with F5.

Signed-off-by: FellippeHeitor <fellippeheitor@gmail.com>
2017-10-14 04:09:54 -03:00
FellippeHeitor 9ab94215db Custom keywords highlighting (SUB/FUNCTION/custom dictionary).
- SUBs and FUNCTIONs names will be highlighted throughout the code.
- The same color assigned to metacommands is used for custom keywords.
- A custom dictionary can also be added to internal/config.txt.
- SUBs and FUNCTIONs in $INCLUDEd files also get highlighted, as long as there aren't any errors preventing compilation.

Signed-off-by: FellippeHeitor <fellippeheitor@gmail.com>
2017-10-14 01:15:09 -03:00
FellippeHeitor 623f733d69 Updated list of keywords. 2017-10-10 01:38:56 -03:00