|
@@ -47,7 +47,9 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
const char *desc;
|
|
const char *desc;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ //20230216 屏蔽一些生僻的命令,加宽速度,让出快捷键
|
|
static struct sci_cmd cmd_table[] = {
|
|
static struct sci_cmd cmd_table[] = {
|
|
|
|
+
|
|
{
|
|
{
|
|
QsciCommand::LineDown,
|
|
QsciCommand::LineDown,
|
|
Qt::Key_Down,
|
|
Qt::Key_Down,
|
|
@@ -58,6 +60,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
#endif
|
|
#endif
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move down one line")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move down one line")
|
|
},
|
|
},
|
|
|
|
+
|
|
{
|
|
{
|
|
QsciCommand::LineDownExtend,
|
|
QsciCommand::LineDownExtend,
|
|
Qt::Key_Down | Qt::SHIFT,
|
|
Qt::Key_Down | Qt::SHIFT,
|
|
@@ -127,7 +130,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
Qt::Key_Home,
|
|
Qt::Key_Home,
|
|
#else
|
|
#else
|
|
- 0,
|
|
|
|
|
|
+ Qt::Key_Home | Qt::CTRL,
|
|
#endif
|
|
#endif
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Scroll to start of document")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Scroll to start of document")
|
|
@@ -137,11 +140,12 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
Qt::Key_End,
|
|
Qt::Key_End,
|
|
#else
|
|
#else
|
|
- 0,
|
|
|
|
|
|
+ Qt::Key_End | Qt::CTRL,
|
|
#endif
|
|
#endif
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Scroll to end of document")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Scroll to end of document")
|
|
},
|
|
},
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::VerticalCentreCaret,
|
|
QsciCommand::VerticalCentreCaret,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -159,6 +163,10 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move down one paragraph")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move down one paragraph")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if 0
|
|
|
|
+ //测试无效
|
|
{
|
|
{
|
|
QsciCommand::ParaDownExtend,
|
|
QsciCommand::ParaDownExtend,
|
|
Qt::Key_BracketRight | Qt::CTRL | Qt::SHIFT,
|
|
Qt::Key_BracketRight | Qt::CTRL | Qt::SHIFT,
|
|
@@ -166,12 +174,15 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection down one paragraph")
|
|
"Extend selection down one paragraph")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::ParaUp,
|
|
QsciCommand::ParaUp,
|
|
Qt::Key_BracketLeft | Qt::CTRL,
|
|
Qt::Key_BracketLeft | Qt::CTRL,
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move up one paragraph")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move up one paragraph")
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::ParaUpExtend,
|
|
QsciCommand::ParaUpExtend,
|
|
Qt::Key_BracketLeft | Qt::CTRL | Qt::SHIFT,
|
|
Qt::Key_BracketLeft | Qt::CTRL | Qt::SHIFT,
|
|
@@ -179,6 +190,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection up one paragraph")
|
|
"Extend selection up one paragraph")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::CharLeft,
|
|
QsciCommand::CharLeft,
|
|
Qt::Key_Left,
|
|
Qt::Key_Left,
|
|
@@ -189,6 +201,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
#endif
|
|
#endif
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move left one character")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move left one character")
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+
|
|
{
|
|
{
|
|
QsciCommand::CharLeftExtend,
|
|
QsciCommand::CharLeftExtend,
|
|
Qt::Key_Left | Qt::SHIFT,
|
|
Qt::Key_Left | Qt::SHIFT,
|
|
@@ -200,6 +214,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection left one character")
|
|
"Extend selection left one character")
|
|
},
|
|
},
|
|
|
|
+
|
|
{
|
|
{
|
|
QsciCommand::CharLeftRectExtend,
|
|
QsciCommand::CharLeftRectExtend,
|
|
Qt::Key_Left | Qt::ALT | Qt::SHIFT,
|
|
Qt::Key_Left | Qt::ALT | Qt::SHIFT,
|
|
@@ -243,6 +258,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend rectangular selection right one character")
|
|
"Extend rectangular selection right one character")
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::WordLeft,
|
|
QsciCommand::WordLeft,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -253,6 +270,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move left one word")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move left one word")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::WordLeftExtend,
|
|
QsciCommand::WordLeftExtend,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -263,6 +281,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Extend selection left one word")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Extend selection left one word")
|
|
},
|
|
},
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::WordRight,
|
|
QsciCommand::WordRight,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -273,12 +292,16 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move right one word")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move right one word")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::WordRightExtend,
|
|
QsciCommand::WordRightExtend,
|
|
Qt::Key_Right | Qt::CTRL | Qt::SHIFT,
|
|
Qt::Key_Right | Qt::CTRL | Qt::SHIFT,
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Extend selection right one word")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Extend selection right one word")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::WordLeftEnd,
|
|
QsciCommand::WordLeftEnd,
|
|
0,
|
|
0,
|
|
@@ -313,6 +336,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection to end of next word")
|
|
"Extend selection to end of next word")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::WordPartLeft,
|
|
QsciCommand::WordPartLeft,
|
|
Qt::Key_Slash | Qt::CTRL,
|
|
Qt::Key_Slash | Qt::CTRL,
|
|
@@ -339,6 +364,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection right one word part")
|
|
"Extend selection right one word part")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::Home,
|
|
QsciCommand::Home,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -371,6 +398,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend rectangular selection to start of document line")
|
|
"Extend rectangular selection to start of document line")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::HomeDisplay,
|
|
QsciCommand::HomeDisplay,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -406,6 +435,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection to start of display or document line")
|
|
"Extend selection to start of display or document line")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+
|
|
{
|
|
{
|
|
QsciCommand::VCHome,
|
|
QsciCommand::VCHome,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -417,6 +448,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Move to first visible character in document line")
|
|
"Move to first visible character in document line")
|
|
},
|
|
},
|
|
|
|
+
|
|
{
|
|
{
|
|
QsciCommand::VCHomeExtend,
|
|
QsciCommand::VCHomeExtend,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -428,6 +460,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection to first visible character in document line")
|
|
"Extend selection to first visible character in document line")
|
|
},
|
|
},
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::VCHomeRectExtend,
|
|
QsciCommand::VCHomeRectExtend,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -453,6 +486,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection to first visible character in display or document line")
|
|
"Extend selection to first visible character in display or document line")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::LineEnd,
|
|
QsciCommand::LineEnd,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -463,6 +497,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move to end of document line")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move to end of document line")
|
|
},
|
|
},
|
|
|
|
+
|
|
{
|
|
{
|
|
QsciCommand::LineEndExtend,
|
|
QsciCommand::LineEndExtend,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -474,6 +509,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection to end of document line")
|
|
"Extend selection to end of document line")
|
|
},
|
|
},
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::LineEndRectExtend,
|
|
QsciCommand::LineEndRectExtend,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -485,6 +521,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend rectangular selection to end of document line")
|
|
"Extend rectangular selection to end of document line")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::LineEndDisplay,
|
|
QsciCommand::LineEndDisplay,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -495,6 +533,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move to end of display line")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move to end of display line")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::LineEndDisplayExtend,
|
|
QsciCommand::LineEndDisplayExtend,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -520,6 +560,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend selection to end of display or document line")
|
|
"Extend selection to end of display or document line")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::DocumentStart,
|
|
QsciCommand::DocumentStart,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -568,7 +609,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move up one page")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move up one page")
|
|
},
|
|
},
|
|
- {
|
|
|
|
|
|
+ /* {
|
|
QsciCommand::PageUpExtend,
|
|
QsciCommand::PageUpExtend,
|
|
Qt::Key_PageUp | Qt::SHIFT,
|
|
Qt::Key_PageUp | Qt::SHIFT,
|
|
0,
|
|
0,
|
|
@@ -580,7 +621,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend rectangular selection up one page")
|
|
"Extend rectangular selection up one page")
|
|
- },
|
|
|
|
|
|
+ },*/
|
|
{
|
|
{
|
|
QsciCommand::PageDown,
|
|
QsciCommand::PageDown,
|
|
Qt::Key_PageDown,
|
|
Qt::Key_PageDown,
|
|
@@ -591,7 +632,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
#endif
|
|
#endif
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move down one page")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move down one page")
|
|
},
|
|
},
|
|
- {
|
|
|
|
|
|
+ /*{
|
|
QsciCommand::PageDownExtend,
|
|
QsciCommand::PageDownExtend,
|
|
Qt::Key_PageDown | Qt::SHIFT,
|
|
Qt::Key_PageDown | Qt::SHIFT,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -611,7 +652,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
#endif
|
|
#endif
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Extend rectangular selection down one page")
|
|
"Extend rectangular selection down one page")
|
|
- },
|
|
|
|
|
|
+ },*/
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::StutteredPageUp,
|
|
QsciCommand::StutteredPageUp,
|
|
0,
|
|
0,
|
|
@@ -638,6 +680,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Stuttered extend selection down one page")
|
|
"Stuttered extend selection down one page")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::Delete,
|
|
QsciCommand::Delete,
|
|
Qt::Key_Delete,
|
|
Qt::Key_Delete,
|
|
@@ -658,6 +701,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
#endif
|
|
#endif
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Delete previous character")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Delete previous character")
|
|
},
|
|
},
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::DeleteBackNotLine,
|
|
QsciCommand::DeleteBackNotLine,
|
|
0,
|
|
0,
|
|
@@ -677,6 +721,8 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Delete word to right")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Delete word to right")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::DeleteWordRightEnd,
|
|
QsciCommand::DeleteWordRightEnd,
|
|
#if defined(USING_OSX_KEYS)
|
|
#if defined(USING_OSX_KEYS)
|
|
@@ -688,6 +734,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Delete right to end of next word")
|
|
"Delete right to end of next word")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::DeleteLineLeft,
|
|
QsciCommand::DeleteLineLeft,
|
|
Qt::Key_Backspace | Qt::CTRL | Qt::SHIFT,
|
|
Qt::Key_Backspace | Qt::CTRL | Qt::SHIFT,
|
|
@@ -729,18 +776,21 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Transpose current and previous lines")
|
|
"Transpose current and previous lines")
|
|
},*/
|
|
},*/
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::LineDuplicate,
|
|
QsciCommand::LineDuplicate,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Duplicate the current line")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Duplicate the current line")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::SelectAll,
|
|
QsciCommand::SelectAll,
|
|
Qt::Key_A | Qt::CTRL,
|
|
Qt::Key_A | Qt::CTRL,
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Select all")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Select all")
|
|
},
|
|
},
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::MoveSelectedLinesUp,
|
|
QsciCommand::MoveSelectedLinesUp,
|
|
0,
|
|
0,
|
|
@@ -754,12 +804,15 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
QT_TRANSLATE_NOOP("QsciCommand",
|
|
"Move selected lines down one line")
|
|
"Move selected lines down one line")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::SelectionDuplicate,
|
|
QsciCommand::SelectionDuplicate,
|
|
Qt::Key_D | Qt::CTRL,
|
|
Qt::Key_D | Qt::CTRL,
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Duplicate selection")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Duplicate selection")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::SelectionLowerCase,
|
|
QsciCommand::SelectionLowerCase,
|
|
Qt::Key_U | Qt::CTRL,
|
|
Qt::Key_U | Qt::CTRL,
|
|
@@ -802,18 +855,21 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
Qt::Key_Return | Qt::SHIFT,
|
|
Qt::Key_Return | Qt::SHIFT,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Insert newline")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Insert newline")
|
|
},
|
|
},
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::Formfeed,
|
|
QsciCommand::Formfeed,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Formfeed")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Formfeed")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::Tab,
|
|
QsciCommand::Tab,
|
|
Qt::Key_Tab,
|
|
Qt::Key_Tab,
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Indent one level")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Indent one level")
|
|
},
|
|
},
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::Backtab,
|
|
QsciCommand::Backtab,
|
|
Qt::Key_Tab | Qt::SHIFT,
|
|
Qt::Key_Tab | Qt::SHIFT,
|
|
@@ -826,6 +882,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Cancel")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Cancel")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
{
|
|
{
|
|
QsciCommand::Undo,
|
|
QsciCommand::Undo,
|
|
Qt::Key_Z | Qt::CTRL,
|
|
Qt::Key_Z | Qt::CTRL,
|
|
@@ -842,9 +899,10 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Redo last command")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Redo last command")
|
|
},
|
|
},
|
|
|
|
+#if 1
|
|
{
|
|
{
|
|
QsciCommand::ZoomIn,
|
|
QsciCommand::ZoomIn,
|
|
- Qt::Key_Plus | Qt::CTRL,
|
|
|
|
|
|
+ Qt::Key_Equal | Qt::CTRL,
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Zoom in")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Zoom in")
|
|
},
|
|
},
|
|
@@ -853,7 +911,9 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
Qt::Key_Minus | Qt::CTRL,
|
|
Qt::Key_Minus | Qt::CTRL,
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Zoom out")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Zoom out")
|
|
- },
|
|
|
|
|
|
+ },
|
|
|
|
+#endif
|
|
|
|
+#if 0
|
|
{
|
|
{
|
|
QsciCommand::MoveLineUp,
|
|
QsciCommand::MoveLineUp,
|
|
Qt::Key_Up | Qt::CTRL | Qt::SHIFT,
|
|
Qt::Key_Up | Qt::CTRL | Qt::SHIFT,
|
|
@@ -867,6 +927,7 @@ QsciCommandSet::QsciCommandSet(QsciScintilla *qs) : qsci(qs)
|
|
0,
|
|
0,
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move Line down")
|
|
QT_TRANSLATE_NOOP("QsciCommand", "Move Line down")
|
|
},
|
|
},
|
|
|
|
+#endif
|
|
};
|
|
};
|
|
|
|
|
|
// Clear the default map.
|
|
// Clear the default map.
|