Commit Graph

3516 Commits

Author SHA1 Message Date
Ben Fry
ab16fbd8b6 oops, i mean, we still need to call that code most of the time... 2016-08-16 15:40:18 -04:00
Ben Fry
27edbf5c85 move the Java-specific parts into their own method 2016-08-16 15:36:50 -04:00
Ben Fry
bb7ed17e6c maaaaybe? noooo... 2016-08-16 15:27:28 -04:00
Ben Fry
94b141442c cleaning this up but balking at refactoring 2016-08-16 15:15:31 -04:00
Ben Fry
0d8e26bb11 add Mode.requireCompatibility() and clear up shadowing field 2016-08-13 17:54:12 -04:00
Ben Fry
66b18b1c0d write preferences using a temporary file (should fix #4614) 2016-08-13 17:53:26 -04:00
Ben Fry
15f52f7112 guess this was removed 2016-08-12 22:58:34 -04:00
Ben Fry
5d8cc5af42 just trying a merge here... 2016-08-12 22:54:10 -04:00
Ben Fry
0e603a151a notes, trying to figure out Help menu problems on OS X 2016-08-12 19:48:29 -04:00
Ben Fry
58e82a895c finishing template implementation 2016-08-10 19:16:07 -04:00
Ben Fry
1f1a46d222 may as well make this by default 2016-08-10 18:47:56 -04:00
Ben Fry
7f87621985 implement user templates 2016-08-10 18:47:15 -04:00
Ben Fry
e793f58551 change PdeKeywords to PdeTokenMarker.. will revert if problems 2016-08-08 23:09:23 -04:00
Ben Fry
2846061c57 add getTokenMarker(code) for better file type flexibility; also clean up formatting 2016-08-08 23:05:49 -04:00
Ben Fry
2ae072460a add means to detect whether "Save As" is in progress 2016-08-08 20:13:20 -04:00
Ben Fry
289f7e84a0 be a little nicer if there is no ErrorTable defined 2016-08-08 13:56:16 -04:00
Ben Fry
6d72ea9325 rewrite Util.listFiles() because it wasn't working properly 2016-08-07 20:18:49 -04:00
Ben Fry
fa77cc4553 figuring out ClassLoader issues with new ext.dirs setup 2016-08-07 19:38:58 -04:00
Ben Fry
778acbe4d8 a little bulletproofing/simplifying 2016-08-07 12:58:09 -04:00
Ben Fry
7e142e8b54 add template support for Modes 2016-08-07 08:34:42 -04:00
Ben Fry
6b1eced911 add blank constructor to prevent Python Mode breakage 2016-08-06 16:06:26 -04:00
Ben Fry
ff56953060 get styles to work properly, other cleanups 2016-08-06 15:48:55 -04:00
Ben Fry
149fda3d37 remove ErrorMarker hack, make it standard in Editor 2016-08-06 15:03:06 -04:00
Ben Fry
d41e083700 moving more things into Editor 2016-08-06 14:52:42 -04:00
Ben Fry
14f332c050 more function moving 2016-08-06 13:21:52 -04:00
Ben Fry
3e4f79bbdc move MarkerColumn into processing.app.ui 2016-08-06 12:36:09 -04:00
Ben Fry
9f57d2a063 heavy refactoring to separate Java and non-Java code for Modes 2016-08-06 12:31:49 -04:00
Ben Fry
e97c6bff21 further refactoring 2016-08-06 11:39:27 -04:00
Ben Fry
bb59ca1b15 these shouldn't be executable 2016-08-06 10:22:24 -04:00
Ben Fry
a223822949 move input method callback since it's broadly applicable 2016-08-05 10:50:19 -04:00
Ben Fry
3460da70fe proper coloring for InputMethod support (#4593) 2016-08-05 10:22:09 -04:00
tyfkda
69b653b1c5 Insert string when it is committed
`inputMethodTextChanged` is called every time
when a user is modifying a text on input method support.
In the time, code haven't modified yet.

Code is modified when the user pressed enter key to decide the input,
and only the time `committedCount` becomes non zero.
2016-08-05 08:57:56 +09:00
Ben Fry
90cdf99ba1 trying to simplify #4599 2016-08-04 11:06:10 -04:00
Ben Fry
8f0938a40a wrangling more input method issues 2016-08-04 10:55:41 -04:00
Ben Fry
ede93ee7be switch from character to string-based commits in IM (#4594) 2016-08-04 10:53:53 -04:00
Ben Fry
2e76db0cb7 Merge pull request #4599 from tyfkda/feature/im
Set sketch as modified when any character committed using input method
2016-08-04 10:51:49 -04:00
Ben Fry
399d24efb9 Enable input method support by default on Japanese/Korean/Chinese systems 2016-08-04 10:19:08 -04:00
tyfkda
2f953e747c Set sketch as modified when any character committed using input method support 2016-08-02 09:15:54 +09:00
Ben Fry
ce007f41be store separate state information in attempt to fix #4522 2016-08-01 16:14:37 -04:00
Ben Fry
2ba0244ab4 cleanups to Input Method code 2016-08-01 11:41:28 -04:00
Jakub Valtar
7e038b9609 Prevent NPEs when tab document is null
JavaMode visits all tabs on sketch load to extract breakpoints, so doc
is always set (except when running Tweak mode; it sets docs to null to
force reload). Other modes have null docs until the tabs are visited
manually.

Fixes #4555
2016-08-01 16:49:21 +02:00
Ben Fry
80be563f8d starting the next release 2016-07-29 11:16:50 -04:00
tyfkda
a3bbfe47f7 Show warning message if mode cannot be changed
If selected mode cannot handle current source,
show warning dialog and reselect old (current) mode.
2016-07-29 09:15:46 +09:00
Jakub Valtar
0825fff8ef Report file path when we can't load language 2016-07-22 18:02:32 +02:00
Jakub Valtar
2c1741c452 Fix running PDE from network locations
Java has problems dealing with UNC paths. See
http://wiki.eclipse.org/Eclipse/UNC_Paths#Programming_with_UNC_paths to
get an idea how bad it is. Scheme specific part should contain the whole
decoded URI except the protocol name and following colon, which should
shield us from Java parsing URL parts incorrectly.
2016-07-22 18:00:52 +02:00
gohai
3feb5f27fe Update JVM warning text on Linux
Ubuntu doesn't have packages for Oracle's Java anymore. Will update Wiki too.
2016-05-27 08:43:42 +02:00
Jakub Valtar
b9c449c115 Return of the error check toggle
Show Warnings now gets greyed out if check is not enabled
2016-05-19 19:09:55 +02:00
Ben Fry
82a8fd4381 starting the next release 2016-05-16 18:31:32 -04:00
Jakub Valtar
cf45848a94 Run compound edit timer task on EDT 2016-05-16 22:48:11 +02:00
Jakub Valtar
0c23a92f3a Make undo/redo mark all affected tabs as modified
Otherwise Save won't save the changes, because it saves only modifies
tabs.
2016-05-16 22:33:53 +02:00