1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00

Cosmetics.

Change-Id: Ibb31fa697065add6d3341faf5bdc84e24504e1e3
This commit is contained in:
Jonah Graham 2020-05-02 10:14:18 -04:00
parent 0aecc58552
commit 0a3e5721d4

View file

@ -10,7 +10,7 @@
SPDX-License-Identifier: EPL-2.0 SPDX-License-Identifier: EPL-2.0
# #
# Contributors: # Contributors:
# Michael Scharf (Wind River) - initial API and implementation # Michael Scharf (Wind River) - initial API and implementation
# Martin Oberhuber (Wind River) - fixed copyright headers and beautified # Martin Oberhuber (Wind River) - fixed copyright headers and beautified
# Michael Scharf (Wind River) - [237425] undefined tm.terminal command # Michael Scharf (Wind River) - [237425] undefined tm.terminal command
# Martin Oberhuber (Wind River) - [378691][api] push Preferences into the Widget # Martin Oberhuber (Wind River) - [378691][api] push Preferences into the Widget
@ -20,8 +20,8 @@
--> -->
<plugin> <plugin>
<extension-point id="connectors" name="%terminal.connectors.name" schema="schema/connectors.exsd"/> <extension-point id="connectors" name="%terminal.connectors.name" schema="schema/connectors.exsd"/>
<extension point="org.eclipse.ui.contexts"> <extension point="org.eclipse.ui.contexts">
<context <context
name="%terminal.context.name.terminal" name="%terminal.context.name.terminal"
description="%terminal.context.description.terminal" description="%terminal.context.description.terminal"
@ -166,16 +166,16 @@
contextId="org.eclipse.tm.terminal.TerminalContext" contextId="org.eclipse.tm.terminal.TerminalContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Alt+Y"/> <!-- S&ystem --> sequence="Alt+Y"/> <!-- S&ystem -->
<!-- <!--
For Copy and Paste, we need replacements since the default Ctrl+C / Ctrl+V For Copy and Paste, we need replacements since the default Ctrl+C / Ctrl+V
need to go to the terminal and thus are not available for local Copy and Paste. need to go to the terminal and thus are not available for local Copy and Paste.
This is not an issue on Mac, where COMMAND+C / COMMAND+V works fine. This is not an issue on Mac, where COMMAND+C / COMMAND+V works fine.
We add both CTRL+INSERT and CTRL+SHIFT+C since on some keyboards, an INSERT key We add both CTRL+INSERT and CTRL+SHIFT+C since on some keyboards, an INSERT key
may not be available. Note: we want the "least surprising" and "most available" may not be available. Note: we want the "least surprising" and "most available"
of all bindings to be shown in the context menu according to the algorithm in of all bindings to be shown in the context menu according to the algorithm in
IBindingService#getBestActiveBindingFor(). IBindingService#getBestActiveBindingFor().
Therefore, we do not want these extra bindings to be shown on the Mac. Therefore, we do not want these extra bindings to be shown on the Mac.
Unfortunately, there is no way in Bindings to say "NOT Platforms X,Y,Z" Unfortunately, there is no way in Bindings to say "NOT Platforms X,Y,Z"
We would really like one of the following here but it doesnt work with Eclipse 4.3: We would really like one of the following here but it doesnt work with Eclipse 4.3:
@ -265,8 +265,8 @@
</description> </description>
</fontDefinition> </fontDefinition>
</extension> </extension>
<!-- Theme contributions --> <!-- Theme contributions -->
<extension point="org.eclipse.e4.ui.css.swt.theme"> <extension point="org.eclipse.e4.ui.css.swt.theme">
<stylesheet <stylesheet
uri="css/org.eclipse.tm.terminal.stylesheet.dark.css"> uri="css/org.eclipse.tm.terminal.stylesheet.dark.css">