You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Robert Zeigler (JIRA)" <ji...@apache.org> on 2008/12/17 15:10:11 UTC

[jira] Created: (CAY-1149) JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane

JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane
---------------------------------------------------------------------------------

                 Key: CAY-1149
                 URL: https://issues.apache.org/cayenne/browse/CAY-1149
             Project: Cayenne
          Issue Type: Bug
          Components: CayenneModeler GUI
    Affects Versions: 3.0M5
         Environment: OS X 10.5. Java 1.5
            Reporter: Robert Zeigler


1) When editing sql scripts, it used to be that if you highlighted a section of text and did command-c (on a mac; presumably ctrl-c on windows), that section of text would be copied.  I assume this was due to os-x/java's default handling of copy/paste actions.  Now, it replaces the text with c.

2) The old text-editor used the system-default key bindings for navigation (eg: alt/option left to move the cursor one word left ); the new editor uses windows' key bindings (eg: ctrl-left arrow to move the cursor one word left), even on a mac.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-1149) JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane

Posted by "Andrey Razumovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226#action_13226 ] 

Andrey Razumovsky commented on CAY-1149:
----------------------------------------

What do you mean by "no-go"? At least move-word keys should work with 'alt'. I'm not so sure about 'command' key,  but I've read somewhere this is 'Meta' key in Java

> JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane
> ---------------------------------------------------------------------------------
>
>                 Key: CAY-1149
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1149
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0M5
>         Environment: OS X 10.5. Java 1.5
>            Reporter: Robert Zeigler
>
> 1) When editing sql scripts, it used to be that if you highlighted a section of text and did command-c (on a mac; presumably ctrl-c on windows), that section of text would be copied.  I assume this was due to os-x/java's default handling of copy/paste actions.  Now, it replaces the text with c.
> 2) The old text-editor used the system-default key bindings for navigation (eg: alt/option left to move the cursor one word left ); the new editor uses windows' key bindings (eg: ctrl-left arrow to move the cursor one word left), even on a mac.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-1149) JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane

Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212#action_13212 ] 

Robert Zeigler commented on CAY-1149:
-------------------------------------

No-go.  I'll work on this one.

> JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane
> ---------------------------------------------------------------------------------
>
>                 Key: CAY-1149
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1149
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0M5
>         Environment: OS X 10.5. Java 1.5
>            Reporter: Robert Zeigler
>
> 1) When editing sql scripts, it used to be that if you highlighted a section of text and did command-c (on a mac; presumably ctrl-c on windows), that section of text would be copied.  I assume this was due to os-x/java's default handling of copy/paste actions.  Now, it replaces the text with c.
> 2) The old text-editor used the system-default key bindings for navigation (eg: alt/option left to move the cursor one word left ); the new editor uses windows' key bindings (eg: ctrl-left arrow to move the cursor one word left), even on a mac.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-1149) JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane

Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211#action_13211 ] 

Robert Zeigler commented on CAY-1149:
-------------------------------------

I'll see if I can try this out today.

> JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane
> ---------------------------------------------------------------------------------
>
>                 Key: CAY-1149
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1149
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0M5
>         Environment: OS X 10.5. Java 1.5
>            Reporter: Robert Zeigler
>
> 1) When editing sql scripts, it used to be that if you highlighted a section of text and did command-c (on a mac; presumably ctrl-c on windows), that section of text would be copied.  I assume this was due to os-x/java's default handling of copy/paste actions.  Now, it replaces the text with c.
> 2) The old text-editor used the system-default key bindings for navigation (eg: alt/option left to move the cursor one word left ); the new editor uses windows' key bindings (eg: ctrl-left arrow to move the cursor one word left), even on a mac.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-1149) JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane

Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250#action_13250 ] 

Robert Zeigler commented on CAY-1149:
-------------------------------------

Ok, at long last, looking at this again.
Alt and fn key-based navigation works.
Copy and Paste, however, /almost/ work. :) 
copy will place the text into the copy buffer, as will cut.  But in both cases, the highlighted text is replaced with c or x, respectively.  And when I paste, I get the paste result + an extra v.  I will try to work on this either this weekend or next (probably next; have a deadline for another project looming for this weekend).

> JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane
> ---------------------------------------------------------------------------------
>
>                 Key: CAY-1149
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1149
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0M5
>         Environment: OS X 10.5. Java 1.5
>            Reporter: Robert Zeigler
>
> 1) When editing sql scripts, it used to be that if you highlighted a section of text and did command-c (on a mac; presumably ctrl-c on windows), that section of text would be copied.  I assume this was due to os-x/java's default handling of copy/paste actions.  Now, it replaces the text with c.
> 2) The old text-editor used the system-default key bindings for navigation (eg: alt/option left to move the cursor one word left ); the new editor uses windows' key bindings (eg: ctrl-left arrow to move the cursor one word left), even on a mac.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-1149) JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane

Posted by "Andrey Razumovsky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209#action_13209 ] 

Andrey Razumovsky commented on CAY-1149:
----------------------------------------

Hi Robert,

I've committed some changes for enabling keys on Mac. As I've already said, I don't have Mac so I could not test things properly. If any key works not as it should have to, please change the binding yourself in CayenneWidgetFactory$MacInputHandler class. The issue cannot be closed until your feedback

> JEdit isn't handling mac keyboard shortcuts within the raw sql script editor pane
> ---------------------------------------------------------------------------------
>
>                 Key: CAY-1149
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1149
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0M5
>         Environment: OS X 10.5. Java 1.5
>            Reporter: Robert Zeigler
>
> 1) When editing sql scripts, it used to be that if you highlighted a section of text and did command-c (on a mac; presumably ctrl-c on windows), that section of text would be copied.  I assume this was due to os-x/java's default handling of copy/paste actions.  Now, it replaces the text with c.
> 2) The old text-editor used the system-default key bindings for navigation (eg: alt/option left to move the cursor one word left ); the new editor uses windows' key bindings (eg: ctrl-left arrow to move the cursor one word left), even on a mac.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.