tuliob / jsyntaxpane

Automatically exported from code.google.com/p/jsyntaxpane
0 stars 0 forks source link

Undo/Redo on Mac OS X #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!

On Mac OS X JSyntaxPane's shortcuts for undo/redo are wrong!

"undo" is CTRL + Z but it should be CMD + Z
"redo" is CTRL + Y but it should be CMD + Y (best: CMD + SHIFT + Z) 

Suggestion: you can get the right modifier key using 
Toolkit.getDefaultToolkit().getMenuShortcutKeyMask(). It returns CMD on 
Mac OS X and CTRL on Windows/Linux. 

Original issue reported on code.google.com by alex.co...@gmail.com on 16 Aug 2009 at 11:56

GoogleCodeExporter commented 9 years ago
I thought that was fixed some time ago.  See issue 31
What version are you using? did you compile your own? or loaded which binary?

Original comment by ayman.al...@gmail.com on 16 Aug 2009 at 4:21

GoogleCodeExporter commented 9 years ago
I'm using version 0.9.5 (jsyntaxpane-0.9.5-b27.jar) on Mac OS 10.5.8 with Java 
1.6.0_13-b03-211.

Original comment by alex.co...@gmail.com on 16 Aug 2009 at 4:58

GoogleCodeExporter commented 9 years ago
The fix is later broken by the COnfig changes.  
Working on another fix.

Original comment by ayman.al...@gmail.com on 18 Aug 2009 at 1:07

GoogleCodeExporter commented 9 years ago
I uploaded the the fix to SVN r113.  Can you verify?  It still works for 
Windows.

Original comment by ayman.al...@gmail.com on 18 Aug 2009 at 1:18

GoogleCodeExporter commented 9 years ago
How can I verify? I am not able to build the project...

Original comment by alex.co...@gmail.com on 28 Aug 2009 at 9:42

GoogleCodeExporter commented 9 years ago
Sorry for the delay.  We will be building a new binary with several fixes in a 
few
weeks.  This will be part of the that release.

Original comment by ayman.al...@gmail.com on 28 Sep 2009 at 5:22

GoogleCodeExporter commented 9 years ago
I'd be happy to verify the change, but I can't seem to find it, I checked out 
the
trunk but the files look identical to what I already have...  Last message in 
"svn
log" is:

------------------------------------------------------------------------
r75 | subwiz | 2009-01-25 07:54:53 -0800 (Sun, 25 Jan 2009) | 1 line
added escapable support for find dialog

But it tells me I'm on revision 116...

Original comment by smcal...@gmail.com on 14 Oct 2009 at 5:44

GoogleCodeExporter commented 9 years ago
Also is there a way to hook into the undo/redo actions so I can connect them up 
to
entries in an edit menu?

Original comment by smcal...@gmail.com on 14 Oct 2009 at 5:45

GoogleCodeExporter commented 9 years ago
I did more changes in r117.  Will create a binary download shortly.

See issue 88

Original comment by ayman.al...@gmail.com on 8 Nov 2009 at 10:17

GoogleCodeExporter commented 9 years ago
This is fixed with issue 88 and the latest binary release.

Original comment by ayman.al...@gmail.com on 19 Nov 2009 at 1:15