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

659 commits

Author SHA1 Message Date
FellippeHeitor 867f62bcc7 Makes possible to edit/navigate with line numbers turned on (keyboard). 2017-10-31 01:00:15 -02:00
FellippeHeitor e5b7327533 Double-clicking an include file name opens the IDE at the error line.
When an error in an include file is reported, the IDE also shows what line inside the external file caused the error. Double-clicking the include line will open the file in a second instance of the IDE and position the cursor in the line that caused the last error.
2017-10-30 11:23:37 -02:00
FellippeHeitor 6b5cba468f Fix retrieval of ideindentsubs from config.txt 2017-10-30 11:23:28 -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 ce9a0c07c6 First attempt at line numbers.
So far:
- Line numbers show (they still get stuck if you create a new empty file).
- Text is shifted right accordingly.
2017-10-26 10:20:19 -02:00
Galleondragon 1da1687633 (Automated push) Update internal/source/* from qb64.bas 2017-10-25 05:15:44 -07:00
FellippeHeitor e0b58b155a Build number update. 2017-10-24 10:07:04 -02:00
FellippeHeitor 5fb0bc3050 "Double-click to launch $INCLUDE file" now waits for new window to close.
- The IDE will wait until the second instance is closed, check if the file was changed and recompile accordingly.
- Interface lights dim while the second instance is being used.
2017-10-23 10:19:08 -02:00
FellippeHeitor 5a84de731f Fix to C++ errors due to empty parameters passed to FUNCTIONS.
- QB64 now warns users of syntax errors in cases such as a& = _RGB32(255, , 255)
2017-10-23 10:16:06 -02:00
FellippeHeitor 3f7a0a59d4 Bypass saving invalid window coordinates at first run. 2017-10-22 20:40:37 -02:00
FellippeHeitor 498f189754 Build number update. 2017-10-22 19:36:32 -02:00
Luke Ceddia 8956a1ee4f Merge branch 'errorlogging' 2017-10-23 08:19:26 +11:00
FellippeHeitor 1113a11107 And now we try to please *nix systems. 2017-10-22 17:40:59 -02:00
FellippeHeitor f223cfe028 Restore SUB Build's "count separators" method to please Windows XP. 2017-10-22 17:16:54 -02:00
Luke Ceddia e2bdbc01ad Correctly set speex's output buffer size 2017-10-23 00:51:17 +11:00
Galleondragon 6a7ee90a51 (Automated push) Update internal/source/* from qb64.bas 2017-10-19 05:17:50 -07:00
Fellippe Heitor a5f702eb6f Implements proper error handling for Cliboard routine on macOS. 2017-10-18 20:58:26 -02:00
Fellippe Heitor 50b1002aa4 Remove reference to undeclared identifier preventing compilation (macOS)
Details at http://www.qb64.net/forum/index.php?topic=14553.msg126181#msg126181

Signed-off-by: Fellippe Heitor <fellippeheitor@gmail.com>
2017-10-18 19:48:17 -02:00
Galleondragon 924922c8b8 (Automated push) Update internal/source/* from qb64.bas 2017-10-17 05:18:53 -07:00
FellippeHeitor 6dfbeb2419 Disables 256-color image loading again, until a better solution is found.
Returns -1 if there's an attempt to load an image in 256-color mode.
2017-10-17 03:08:33 -02:00
FellippeHeitor 959307033e Avoid moving the IDE window to 0,0 in the first run (Windows). 2017-10-17 02:29:47 -02:00
FellippeHeitor 0761c1f20f Minor IDE nuisances fixed (i).
- Fixes CTRL+letter being inserted in the text area even after combos were processed.
- Fixes CTRL+letter activating menu items.
- Fixes a menu being preselected when activated with ALT if the mouse was hovering it (hovering still works *after* the menu is launched)
2017-10-17 02:07:47 -02:00
FellippeHeitor 23406bc4d4 Reset compfailed to 0 when the source is edited again. 2017-10-15 20:00:12 -03:00
FellippeHeitor 677f5cd2ea Adds link to compilelog.txt in the Status area when compfailed = 1. 2017-10-15 19:46:16 -03:00
Galleondragon 3d01e8bcca (Automated push) Update internal/source/* from qb64.bas 2017-10-15 05:17:03 -07:00
Luke Ceddia 1eef0d29e5 Add c++ error logging for windows too 2017-10-15 18:56:59 +11:00
FellippeHeitor fc02c623c8 Write new window position as soon as it's detected. 2017-10-14 20:07:35 -03:00
FellippeHeitor b62e39b9f9 Tweak to auto-position (IDE) - allows coordinates (0, 0). 2017-10-14 19:52:32 -03:00
FellippeHeitor cff8ae7561 Make AutoPosition setting default to true. 2017-10-14 17:34:33 -03:00
FellippeHeitor c8a219bb70 Restore "OK" in the status bar after translation to C++ is done. 2017-10-14 14:33:38 -03:00
Luke Ceddia ecd1897c44 Log C++ errors to temp/compile.log for Linux/OSX 2017-10-15 01:03:38 +11:00
Galleondragon 40c2ab73f6 (Automated push) Update internal/source/* from qb64.bas 2017-10-14 05:16:31 -07:00
FellippeHeitor f971af8328 Resizing the IDE while a menu is open now works as expected. 2017-10-14 04:21:50 -03: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
Fellippe Heitor f7abc0e1fd Update help files. 2017-10-10 11:55:21 -03:00
Galleondragon 2cbd928800 (Automated push) Update internal/source/* from qb64.bas 2017-10-10 05:21:33 -07:00
FellippeHeitor 0f9207ccda Build number update. 2017-10-10 02:26:54 -03:00
FellippeHeitor 19917654aa Adds support for Alt+F4 to close a program's window (Windows-only). 2017-10-10 01:41:53 -03:00
FellippeHeitor 623f733d69 Updated list of keywords. 2017-10-10 01:38:56 -03:00
FellippeHeitor 5ba4cde9ac Tweak to previous commit "close menus when IDE loses focus". 2017-10-10 00:19:50 -03:00
Luke Ceddia 86a6646bdb Change freeglut to only look for ctrl/alt/shift down events when window
has focus.

Previously this functionality was in libqb.
2017-10-10 13:47:10 +11:00
Galleondragon 6e0fd03256 (Automated push) Update internal/source/* from qb64.bas 2017-10-09 05:18:54 -07:00
FellippeHeitor ce201095a7 Build number update. 2017-10-08 22:49:06 -03:00
FellippeHeitor 749ec5222f Improved copy/paste; Improved "cursor after pasted content" behavior.
Empty lines now get properly copied/pasted.
2017-10-08 22:48:34 -03:00
FellippeHeitor 18a43777e7 Improved focus detection behavior (Windows-only).
Menus are closed when the IDE loses focus.
2017-10-08 22:47:42 -03:00
FellippeHeitor 83c1afdb52 Add IDE cursor start and end values to config.txt.
Default cursor height for non-insert mode is LOCATE , , , 8, 8. Start and End values can now be customized in the config.txt settings file (values range from 0 to 31).
2017-10-08 22:46:35 -03:00
FellippeHeitor a16c9a4093 Makes bracket highlight/multi-selection highlight color customizable. Also:
- Minor improvements to syntax highlighter;
- Hides cursor and line highlight when window loses focus (Windows-only);
2017-10-08 22:44:40 -03:00
FellippeHeitor f5bb8a90bd Adds ENDIF to valid keyword for highlight. 2017-10-08 22:38:59 -03:00