1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 12:40:36 +00:00
Commit graph

610 commits

Author SHA1 Message Date
FellippeHeitor f5bb8a90bd Adds ENDIF to valid keyword for highlight. 2017-10-08 22:38:59 -03:00
FellippeHeitor 7d842c9927 Allow ? to be highlighted even if immediately followed by another "word".
Cases like ?myVar% get properly highlighted.
2017-10-07 03:35:51 -03:00
FellippeHeitor 70fd9d872e Allow multihighlight for var.element items. Also:
- Improved number detection (negatives, decimals, trailing type suffixes);
- Properly clear the status area before showing "converting..." message for QB45BIN.
2017-10-07 03:16:46 -03:00
FellippeHeitor e8e1da2987 Add ENDIF (no space) and ? (question mark) to valid keywords. 2017-10-07 03:08:43 -03:00
Galleondragon 7db38f2af0 (Automated push) Update internal/source/* from qb64.bas 2017-10-06 05:16:28 -07:00
FellippeHeitor 65c87a0da8 Prevent "Erase" confirmation from closing "IDE Colors" dialog. 2017-10-06 03:42:06 -03:00
FellippeHeitor d54a5cc2e3 Allows non-destructive retrieval of version 1.1 color schemes.
Version 1.1 color schemes contained only 6 colors. This patch allows users to maintain their existing schemes while adding keyword and number highlight colors to them. Also:

- Invalid schemes are now just skipped, instead of destroyed.
- Scheme selection arrows and "Save"/"Erase" buttons are more visible/distinguishable between active/hovered/inactive states.
- Confirmation dialog before erasing user schemes.
2017-10-06 03:15:49 -03:00
FellippeHeitor a1f22afa22 Prevent IDE colors from reverting back to default when resizing. 2017-10-05 22:57:25 -03:00
Galleondragon 0bc77404e0 (Automated push) Update internal/source/* from qb64.bas 2017-10-05 05:16:31 -07:00
FellippeHeitor d8ea561736 Fix color of inactive menu items. 2017-10-04 23:08:51 -03:00
Galleondragon ffe2ec56f1 (Automated push) Update internal/source/* from qb64.bas 2017-10-04 05:15:08 -07:00
FellippeHeitor 35105dc9c1 New preset theme: 'Dark side'.
'Classic QB4.5' theme fixed.
2017-10-04 04:06:27 -03:00
FellippeHeitor 1f6b88e7f5 Numbers highlight. 2017-10-04 03:42:39 -03:00
FellippeHeitor 6caa67261c Tweak to bracket highlight and multi-highlight selection. 2017-10-04 01:36:59 -03:00
FellippeHeitor 7c383a05a7 Add SMOOTH and STRETCH to keywords list. Fixes $IF block highlighting. 2017-10-04 00:50:49 -03:00
FellippeHeitor 8e68dd06d4 Cleaned up list of keywords. Minor tweak to $END IF colorization. 2017-10-03 23:43:47 -03:00
FellippeHeitor 68a2ec44f9 Fixes sticky ALT key in Windows.
Minor tweak to Dark blue preset theme.
2017-10-03 23:13:08 -03:00
FellippeHeitor 997d2bb734 Improved highlighting of metacommands in comments. 2017-10-03 21:12:22 -03:00
FellippeHeitor b60fdb780a Fine adjustments to syntax highlighting. 2017-10-03 11:52:03 -03:00
Galleondragon 17f86ad513 (Automated push) Update internal/source/* from qb64.bas 2017-10-02 05:11:10 -07:00
FellippeHeitor 739aaef7ac Improves syntax highlighter with Keyword Highlight. 2017-10-02 01:16:35 -03:00
FellippeHeitor 19bbf5fde6 Build number update. 2017-10-01 19:06:46 -03:00
FellippeHeitor e6a265f0e4 Integrates qarnos's QB45BIN.
Upon attempting to load a binary file, the IDE will detect that the file type is a QuickBASIC 4.5 binary file and offer to convert it to plain text using qarnos's QB45BIN utility.
2017-10-01 17:51:28 -03:00
Galleondragon 181ebeb68c (Automated push) Update internal/source/* from qb64.bas 2017-09-28 05:16:33 -07:00
FellippeHeitor 89f2e12cc8 Remove references to DEPENDENCY_USER_MODS from subs_functions.bas. 2017-09-27 22:04:40 -03:00
FellippeHeitor 204ad079c9 Tweak to multihighlight.
Highlights only full matches.
2017-09-27 11:53:05 -03:00
FellippeHeitor 0e7b1c41af Window resizing improved (changes apply in real time). Also:
- Disable resizing when the help system is open and when dialogs are displayed.
- Minor fix to multi-highlighting to also allow it to hightlight instances of the same text seleted in the current line.
2017-09-27 10:10:04 -03:00
Galleondragon 6e929a9985 (Automated push) Update internal/source/* from qb64.bas 2017-09-26 05:15:54 -07:00
Luke Ceddia 0f293b9c5e Remove user_mods 2017-09-25 23:05:53 +10:00
Luke Ceddia 54574c1ca6 Add declaration for sub__keyclear() 2017-09-25 23:03:38 +10:00
Luke Ceddia b1baec3f2b Correct Travis buildscript 2017-09-25 22:48:15 +10:00
Galleondragon f309ab7855 (Automated push) Update internal/source/* from qb64.bas 2017-09-25 05:18:26 -07:00
Luke Ceddia bdc3250b89 Resolved the issue of user mods not working for $console:only programs 2017-09-25 21:56:24 +10:00
FellippeHeitor 1330f8fa14 Make the "Change" dialog stay out of the way when "Find and verify"ing. 2017-09-25 03:11:38 -03:00
FellippeHeitor 37ab5feb0e Minor adjustments to menu shortcuts; Also:
- Fix to ALT+Key entering text in textboxes (dialogs).
2017-09-25 02:50:13 -03:00
FellippeHeitor 5f822f21ce Adds multi-highlight.
When a a single-line selection is made, every instance of the same "word" on the current screen gets highlighted. Can be disabled in Options->IDE colors.
2017-09-25 02:30:40 -03:00
FellippeHeitor 0a7099be53 Make sub indenting and "cursor after pasted content" default. 2017-09-25 02:29:18 -03:00
FellippeHeitor f0692d55b2 New IDE shortcuts.
- Ctrl+N = New file
- Ctrl+O = Open file
- Ctrl+R = Comment selection (add ')
- Ctrl+Shift+R = Uncomment selection (remove ')
2017-09-25 02:28:41 -03:00
FellippeHeitor 7998aa89cd Detect focus using GetForegroundWindow instead of GetActiveWindow. 2017-09-25 02:25:53 -03:00
SteveMcNeill 4f23fd9b7b Add function _AUTODISPLAY so user can get display/autodisplay staus 2017-09-24 18:41:00 -04:00
Galleondragon 034027553c (Automated push) Update internal/source/* from qb64.bas 2017-09-24 05:15:44 -07:00
FellippeHeitor 3488bd916b Fix to MessageBox call. 2017-09-24 08:20:18 -03:00
FellippeHeitor 5922d112bf Adds _WINDOWHANDLE, _WINDOWHASFOCUS and _TITLE$ (function).
- _WINDOWHANDLE exposes the current window's handle (Windows-only).
- _WINDOWHASFOCUS returns true (-1) when the program is the foremost window (Windows-only). Always returns -1 in other OSes.
- _TITLE$ (function) returns the last title set using the _TITLE statement.
2017-09-24 08:12:13 -03:00
SteveMcNeill d3a2424b73 Added right and middle button support for _SCREENCLICK with Windows 2017-09-24 01:08:29 -04:00
SteveMcNeill b89ade1c5c Patch to previous patch for Linux/Mac compatability 2017-09-23 20:33:58 -04:00
SteveMcNeill e264458841 Patch to SLEEP, _KEYHIT, INP(&H60), _SCREENEXISTS for WINDOWS
Change so that modifer keypresses will only register when the window has
focus in Windows.  This corrects the issue with SLEEP, KEYHIT, and
INP(&H60) registering SHIFT, CTRL, and ALT keypresses even when the
program is not in focus or is running as a background app.

Also changed _SCREENEXISTS (and a few other window user commands) so
that they require windows to have actually registered a windows handle
for the function to return -1, and not just for glut to have finished
initializing the screen itself.
2017-09-23 20:24:19 -04:00
Galleondragon cc6a5fb40a (Automated push) Update internal/source/* from qb64.bas 2017-09-22 05:15:55 -07:00
FellippeHeitor 13fa2ca4d5 Unnecessary repeated inline functions removed from _loadimage. 2017-09-22 00:29:41 -03:00
FellippeHeitor 887aff63dd Build number update. 2017-09-21 23:55:59 -03:00
FellippeHeitor 5368b9d5d7 Initial attempt to restore _LOADIMAGE's ability to load in 8bit mode.
- When mode = 256, _LOADIMAGE will return an 8bit image with the loaded file's colors matching the default palette.
- Slower for bigger images, because of the call to matchcol();
2017-09-21 23:55:01 -03:00