1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +00:00
Commit graph

83 commits

Author SHA1 Message Date
FellippeHeitor f9ab61ad51 Improves insertion of $Debug automatically (F7/F8). 2021-08-11 01:35:29 -03:00
FellippeHeitor f1eb6787a9 Allows filtering variables in Watch List dialog.
Filter works for name, type and scope.

Also: Begins work to allow sending variable data.
2021-08-01 03:35:48 -03:00
FellippeHeitor 45205f91ec Removes unused variable in ide_global.bas 2021-08-01 01:09:57 -03:00
FellippeHeitor f527d9058b Reworks some internals of listbox controls (dialogs). 2021-08-01 00:56:29 -03:00
Fellippe Heitor 9a2922fb67 Reorganizes some Debug-related menu items. 2021-07-29 01:46:34 -03:00
FellippeHeitor cedff4ef5a Groundwork for variable requesting from the IDE (nonworking state).
The _MEMGET part needs extra work.
m is of type _MEM, but it's never assigned - does that have something to do with it?
Should we have something on the C++ side to access those memory blocks?
2021-07-26 14:52:14 -03:00
FellippeHeitor 5886488b72 Allows F3, Ctrl+F3, Ctrl+F to invoke the search box ($DEBUG). 2021-07-23 13:46:57 -03:00
FellippeHeitor 84fb639626 Visually indicates the line where the search term was found.
In normal operation, the line already gets highlighted. This commit makes the search result more visible/easily spotted when repeating search with F3 or when the search bar has focus.
2021-07-22 11:40:03 -03:00
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