This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 157325
Collapse All | Expand All

(-)a/defaults/src/org/netbeans/modules/defaults/Eclipse-keybindings-mac.xml (+54 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4
5
Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
6
7
8
The contents of this file are subject to the terms of either the GNU
9
General Public License Version 2 only ("GPL") or the Common
10
Development and Distribution License("CDDL") (collectively, the
11
"License"). You may not use this file except in compliance with the
12
License. You can obtain a copy of the License at
13
http://www.netbeans.org/cddl-gplv2.html
14
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
15
specific language governing permissions and limitations under the
16
License.  When distributing the software, include this License Header
17
Notice in each file and include the License file at
18
nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
19
particular file as subject to the "Classpath" exception as provided
20
by Sun in the GPL Version 2 section of the License file that
21
accompanied this code. If applicable, add the following below the
22
License Header, with the fields enclosed by brackets [] replaced by
23
your own identifying information:
24
"Portions Copyrighted [year] [name of copyright owner]"
25
26
Contributor(s):
27
28
The Original Software is NetBeans. The Initial Developer of the Original
29
Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
30
Microsystems, Inc. All Rights Reserved.
31
32
If you wish your version of this file to be governed by only the CDDL
33
or only the GPL Version 2, indicate your decision by adding
34
"[Contributor] elects to include this software in this distribution
35
under the [CDDL or GPL Version 2] license." If you do not indicate a
36
single choice of license, a recipient has the option to distribute
37
your version of this file under either the CDDL, the GPL Version 2 or
38
to extend the choice of license to its licensees as provided above.
39
However, if you add GPL Version 2 code and therefore, elected the GPL
40
Version 2 license, then the option applies only if the new code is
41
made subject to such option by the copyright holder.
42
-->
43
<!DOCTYPE bindings PUBLIC "-//NetBeans//DTD Editor KeyBindings settings 1.1//EN" "http://www.netbeans.org/dtds/EditorKeyBindings-1_1.dtd">
44
<!--
45
    IMPORTANT:  This file modifies keybindings from NetBeans-keybindings.xml to make them work on Mac OS.
46
-->
47
48
<bindings>
49
    <!-- Things we add that replace standard keybindings -->
50
51
    <!-- Things we add only on the mac -->
52
53
    <bind actionName="in-place-refactoring" key="DA-R"/>
54
</bindings>
(-)a/defaults/src/org/netbeans/modules/defaults/Eclipse-keybindings.xml (+3 lines)
Lines 159-162 Link Here
159
    <bind actionName="undo" key="D-Z"/>
159
    <bind actionName="undo" key="D-Z"/>
160
    <bind actionName="undo" key="UNDO"/>
160
    <bind actionName="undo" key="UNDO"/>
161
    <bind actionName="word-match-next" key="O-SLASH"/>
161
    <bind actionName="word-match-next" key="O-SLASH"/>
162
163
    <bind key="OS-R" remove="true" />
164
    <bind actionName="in-place-refactoring" key="OS-R"/>
162
</bindings>
165
</bindings>
(-)a/defaults/src/org/netbeans/modules/defaults/mf-layer.xml (+3 lines)
Lines 1358-1363 Link Here
1358
                <folder name="Eclipse">
1358
                <folder name="Eclipse">
1359
                    <folder name="Defaults">
1359
                    <folder name="Defaults">
1360
                        <file name="org-netbeans-modules-defaults-keybindings.xml" url="Eclipse-keybindings.xml"/>
1360
                        <file name="org-netbeans-modules-defaults-keybindings.xml" url="Eclipse-keybindings.xml"/>
1361
                        <file name="org-netbeans-modules-editor-keybindings-mac.xml" url="Eclipse-keybindings-mac.xml">
1362
                            <attr name="nbeditor-settings-targetOS" stringvalue="OS_MAC"/>
1363
                        </file>
1361
                    </folder>
1364
                    </folder>
1362
                </folder>
1365
                </folder>
1363
                <folder name="Emacs">
1366
                <folder name="Emacs">

Return to bug 157325