Flavio Monteiro
a3f59fae91
Display the keyboard shortcut tip on both "Manage Libraries..."
...
This commit adds the Menu+Shift+I shortcut to the remaining menu entry in Base.java.
When the shortcut is called, the menu entry from Base.java is the one that will be called.
2017-10-30 11:04:26 +01:00
Flavio Monteiro
f8621b0421
Add Menu+Shift+I shortcut to the Library Manager
...
Please note that this commit actually adds the shortcut to its menu
entry under the "Tools" menu.
As a side effect, the shortcut tip is only shown in this entry and not
on the another one.
Menu usually means the Ctrl key on most modern systems.
2017-10-30 11:04:26 +01:00
Flavio Monteiro
d860c907bb
Show "Manage Libraries" item in the Tools menu too
...
This duplicates the entry, so now "Manage Libraries..." is available
in both under the "Tools" menu and inside the "Sketch" -> "Include
Library" menu.
The reasons for this change are:
- It makes sense for the entry to be there
- It makes easier for the user to click on the entry
Aditionally, I added a comment about a issue I found with the
newJMenuItemShift function on Xubuntu 17.04 regarding the Ctrl+Shift+K
shortcut.
2017-10-30 11:04:26 +01:00
Flavio Monteiro
4a80f50d28
Trim trailing spaces from Editor.java
2017-10-30 11:04:26 +01:00
Flavio Monteiro
bafd66ba4f
Fix comment of the ctrlAlt() helper function
2017-10-30 11:04:26 +01:00
Brett Hagman
eed9e7069f
Fix keyword loading to use any whitespace as separator
...
Instead of forcing keywords.txt to use tabs, let library developers use spaces too.
2017-10-16 18:19:35 +02:00
Martino Facchin
0460dc4941
Add accelerator for scrollable menus
...
Press A when on a scrollable menu for a 6x acceleration
2017-10-16 18:19:35 +02:00
Martino Facchin
bfea2724ba
Add scroller for programmers menu
2017-10-16 18:19:35 +02:00
Martino Facchin
ffa13ed733
Keep "Board Manager" entry always on top of its menu
2017-10-16 18:19:35 +02:00
ReAlUA
190eb8f9b1
IDE: call translation function for lastLibType
...
In menu Sketch/Include Library/ library types (Arduino|Recommended|Contributed) are not translated into selected «Editor language» although types are translated in .po files.
2017-10-11 11:55:45 +02:00
Cristian Maglie
d0f8037f6d
Added exception printout while building
2017-09-28 13:13:29 +02:00
Cristian Maglie
369b23a7d2
Refactored function to get status of menus in MacOSX
2017-09-28 12:57:56 +02:00
Martino Facchin
59a57a9312
Use classic close() handle when macOS 10.13 workaround is on
2017-09-28 09:25:46 +02:00
Martino Facchin
a2b5f661b8
Fix macOS 10.13 missing menubar
...
The global bar is being used if locale is English and About() menu is present
2017-09-27 17:43:52 +02:00
Cristian Maglie
5427f94b9d
Do not allow negative font resize
...
Fix #6359 (again)
2017-08-28 17:57:21 +02:00
Cristian Maglie
fcd88e6a43
IDE: "New/rename tab" now allow numbers as first char
...
Fix #6656
Related to #6592 and 4545283ae7
2017-08-28 14:35:49 +02:00
Martino Facchin
328296a2c5
Only reapply serial monitor last location if it fits the screen
...
There could be a couple of edge cases in this approach (for example, if someone wants to keep the serial monitor window only half visible).
However, it should be at least safe (no serial monitors on the second screen) if the Window Manager acts correctly (by moving all the windows on the second monitor to the primary on detach).
2017-08-18 15:25:11 +02:00
Martino Facchin
8292989e2d
Separate screen dimensions storing from recent sketches
2017-08-18 15:25:11 +02:00
Cristian Maglie
4545283ae7
Sketch names starting with a digit are now allowed
...
Fix #6592
2017-08-18 15:11:24 +02:00
Martino Facchin
ad02e4940c
Merge pull request #6130 from facchinm/allow_resizing_console_to_zero
...
Allow setting low values as minimum console size
2017-08-01 11:47:01 +02:00
Martino Facchin
91cdf53147
Merge pull request #6551 from facchinm/test_pr6394
...
Add font size shortcuts (menu, keyboard and mouse)
2017-08-01 11:45:04 +02:00
Martino Facchin
0c4d59d13f
Merge pull request #6411 from facchinm/huge_serialportlist_scrollable
...
Add scroller for serial port list menu
2017-08-01 11:44:28 +02:00
Cristian Maglie
93217c40c7
CLI: fixed missing "runtime.platform.path"
...
This happens when the CLI is runned without the `--board` option.
Fix #6463
2017-07-27 15:56:24 +02:00
Martino Facchin
388822ad95
Implement font increse/decrease with CTRL+MouseWheel
2017-07-25 14:58:10 +02:00
Martino Facchin
c07f8fca54
Use CTRL+"+" as Increase Font shortcut
2017-07-25 14:57:21 +02:00
Cristian Maglie
ddf60361d6
Toolbar can now go full width on 4K display
...
Fix #5341
2017-07-18 14:00:56 +02:00
Martino Facchin
76f4668f02
Call setScrollerFor port menu only once
2017-06-26 09:43:22 +02:00
Martino Facchin
506ebd8011
add scroller for serial port list menu
...
Fixes #6397
2017-06-22 10:24:22 +02:00
Michael G
04a7e7ff15
Add font size shortcuts (menu and keyboard)
2017-06-20 11:33:24 +02:00
Cristian Maglie
00c1a3b3eb
Renamed editor.auto_close_braces pref and set default value
2017-04-13 11:38:23 +02:00
bob
8ecbded312
add editor.autocomplete flag to disable automatic curly braces
2017-04-13 11:38:23 +02:00
Martino Facchin
39da3f0867
Apply editor.indent preference
...
Solves #6128
2017-04-13 11:38:23 +02:00
Cristian Maglie
323bd64a60
Serial Monitor: move "clear output" button from left to right side
2017-04-10 16:26:08 +02:00
Michael michael.sytko
99006fc5c6
Serial Monitor: added "clear output" button
2017-04-10 16:19:19 +02:00
Michael michael.sytko
8943b7ccbe
added custom title format setting (editor.custom_title_format)
2017-04-10 14:24:26 +02:00
Michael michael.sytko
74384400e2
configurable shortcut for comment / uncomment
2017-04-10 14:24:26 +02:00
Martino Facchin
0190225050
Allow setting low values as minimum console size
...
Fixes #6085 when setting console.lines=0 in preferences.txt
2017-03-27 12:52:47 +02:00
Cristian Maglie
c70efd950f
Fixed --save-prefs regression
...
Also removed deprecated Prefences.save() method.
Fix #6067
2017-03-22 13:13:06 +01:00
Cristian Maglie
674419a464
Fixed a bunch of trivial javac warnings
2017-03-22 12:12:46 +01:00
Sandeep Mistry
3e9448d34b
Disable serial monitor for non-SSH network ports
2017-03-20 15:09:54 +01:00
tomneutens
938df21778
Added a CompilerProgressListenerList to the EditorStatus class so you can add a listener for compiler progress from an external tool. To enable this the build method in the compiler class had to be changed
2017-03-15 19:32:53 +02:00
Petri Laarne
1fc0997f71
Do not delete the source if source = destination
...
While the previous version could handle the case, it only did so after
deleting the destination file, therefore causing data loss.
2017-03-08 13:23:50 +01:00
Cristian Maglie
1f35bfca53
Fixed regression tests on Indent/Unindent and Comment/Uncomment actions
...
RSTA for some reason doesn't fire update signals on DocumentListeners.
2017-03-01 10:38:09 +01:00
Cristian Maglie
5f12bb9a3e
Removed the need for get/setUndoManager()
...
This dramatically simplifies undo/redo handling and allows to use
unpatched RSyntaxTextArea library.
2017-03-01 10:38:09 +01:00
Cristian Maglie
1062307c52
Removed some redundant this
keyword
2017-02-27 13:48:54 +01:00
Cristian Maglie
dd17388280
Removed unneeded up-cast
2017-02-27 13:48:54 +01:00
Matthijs Kooijman
87c917f4ea
Remove unused CaretAwareUndoableEdit class
...
It seems this class has been unused since the switch to RSyntaxTextArea
was made.
2017-02-27 13:46:38 +01:00
Cristian Maglie
ad503bce6d
Added missing license
2017-02-27 13:45:16 +01:00
Martino Facchin
c0a99f9ec9
Disallow opening Serial monitor during compilation
...
Commit 6d5597b070
introduced a guard against multiple concurrent operations.
This guard also avoid any real serial monitor "open" during the compile+upload phase, but it didn't handle keyboard shortcuts.
Fixes https://github.com/arduino/Arduino/issues/6015
2017-02-24 16:42:58 +01:00
Cristian Maglie
4d6385ab6d
Serial monitor: input textfield is automatically selected
...
When the serial monitor window is focused again (not reopened but put
in background and selected again) the text input field is now
automatically focused.
Fix #5810
2017-02-17 10:57:20 +01:00