diff options
-rw-r--r-- | core/locale.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.ar.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.de.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.es.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.fr.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.it.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.pl.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.ru.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.sv.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.zh.conf | 5 | ||||
-rw-r--r-- | modules/textadept/keys.lua | 5 | ||||
-rw-r--r-- | modules/textadept/menu.lua | 3 |
12 files changed, 22 insertions, 36 deletions
diff --git a/core/locale.conf b/core/locale.conf index 67ce1ff4..04859696 100644 --- a/core/locale.conf +++ b/core/locale.conf @@ -293,10 +293,9 @@ UTF-16 Encoding = UTF-1_6 Encoding Toggle View EOL = Toggle View _EOL Toggle Wrap Mode = Toggle _Wrap Mode Toggle View Whitespace = Toggle View White_space -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = Select _Lexer... -Refresh Syntax Highlighting = _Refresh Syntax Highlighting # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = _View diff --git a/core/locales/locale.ar.conf b/core/locales/locale.ar.conf index d2168834..dec4e4f1 100644 --- a/core/locales/locale.ar.conf +++ b/core/locales/locale.ar.conf @@ -293,10 +293,9 @@ UTF-16 Encoding = ترميز الـUTF-1_6 Toggle View EOL = بدِّل عرض _نهاية السطر Toggle Wrap Mode = بدِّل ال_تفاف النص Toggle View Whitespace = بدِّل عرض ال_مسافة البيضاء -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = اختر ال_معجم... -Refresh Syntax Highlighting = أ_عِدْ التضليل النحوي # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = _عرض diff --git a/core/locales/locale.de.conf b/core/locales/locale.de.conf index a5d66120..6a7ea2c9 100644 --- a/core/locales/locale.de.conf +++ b/core/locales/locale.de.conf @@ -293,10 +293,9 @@ UTF-16 Encoding = UTF-1_6 Toggle View EOL = _EOL-Ansicht umschalten Toggle Wrap Mode = Umbruchsmodus umschalten Toggle View Whitespace = Leerzeichen ein-/ausblenden -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = Lexer auswählen... -Refresh Syntax Highlighting = Syntax-Highlighting aktualisieren # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = _View diff --git a/core/locales/locale.es.conf b/core/locales/locale.es.conf index b9067999..ad8308fa 100644 --- a/core/locales/locale.es.conf +++ b/core/locales/locale.es.conf @@ -293,10 +293,9 @@ UTF-16 Encoding = Codificación UTF-_16 Toggle View EOL = _Mostrar/Ocultar fin de línea Toggle Wrap Mode = _Activar/Desactivar ajuste de línea Toggle View Whitespace = M_ostrar/Ocultar espacios en blanco -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = S_eleccionar analizador léxico -Refresh Syntax Highlighting = Ac_tualizar resaltado de sintaxis # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = _Ver diff --git a/core/locales/locale.fr.conf b/core/locales/locale.fr.conf index 0580dfd7..6fdddcc9 100644 --- a/core/locales/locale.fr.conf +++ b/core/locales/locale.fr.conf @@ -294,10 +294,9 @@ UTF-16 Encoding = Encodage UTF-1_6 Toggle View EOL = Commuter l’affichage des fin de _ligne Toggle Wrap Mode = Commuter le _retour à la ligne automatique Toggle View Whitespace = Commuter l’affichage des _espaces -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = Choisir le l_angage... -Refresh Syntax Highlighting = Rafraîchir la coloration s_yntaxique # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = _Vue diff --git a/core/locales/locale.it.conf b/core/locales/locale.it.conf index ac3bf39b..7fd1dce2 100644 --- a/core/locales/locale.it.conf +++ b/core/locales/locale.it.conf @@ -293,10 +293,9 @@ UTF-16 Encoding = Codifica UTF-1_6 Toggle View EOL = _Mostra la fine di linea sì/no Toggle Wrap Mode = _Accapo automatico sì/no Toggle View Whitespace = M_ostra gli spazi sì/no -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = Sc_egli il linguaggio... -Refresh Syntax Highlighting = Sincroni_zza l’evidenziazione sintattica # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = _Vista diff --git a/core/locales/locale.pl.conf b/core/locales/locale.pl.conf index 51f5b86e..5ba98c4a 100644 --- a/core/locales/locale.pl.conf +++ b/core/locales/locale.pl.conf @@ -294,10 +294,9 @@ UTF-16 Encoding = UTF-1_6 Toggle View EOL = Włącz/wyłącz znaki k_ońca linii Toggle Wrap Mode = Włącz/wyłącz zawi_janie wierszy Toggle View Whitespace = Włącz/wyłącz „_białe znaki” -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = Wybierz _lekser... -Refresh Syntax Highlighting = _Odśwież kolorowanie składni # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = _Widok diff --git a/core/locales/locale.ru.conf b/core/locales/locale.ru.conf index f0bbb5e2..70307067 100644 --- a/core/locales/locale.ru.conf +++ b/core/locales/locale.ru.conf @@ -293,10 +293,9 @@ UTF-16 Encoding = Кодировка UTF-1_6 Toggle View EOL = Переключить показ _EOL Toggle Wrap Mode = Переключить режим _визуального переноса Toggle View Whitespace = Переключить показ _пробелов -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = Выбрать тип _подсветки... -Refresh Syntax Highlighting = _Обновить подсветку синтаксиса # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = _Вид diff --git a/core/locales/locale.sv.conf b/core/locales/locale.sv.conf index a7bf7dfb..2ff8616b 100644 --- a/core/locales/locale.sv.conf +++ b/core/locales/locale.sv.conf @@ -293,10 +293,9 @@ UTF-16 Encoding = UTF-1_6 Toggle View EOL = Visa rad_brytningstecken Toggle Wrap Mode = Växla _radbrytning Toggle View Whitespace = Växla blan_ktecken -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = Välj språk (_lexer)... -Refresh Syntax Highlighting = _Uppdatera syntaxfärgning # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = _Vy diff --git a/core/locales/locale.zh.conf b/core/locales/locale.zh.conf index 48469c26..9d532c85 100644 --- a/core/locales/locale.zh.conf +++ b/core/locales/locale.zh.conf @@ -293,10 +293,9 @@ UTF-16 Encoding = UTF-1_6编码 Toggle View EOL = 显示/隐藏_EOL Toggle Wrap Mode = 自动换行(_W) Toggle View Whitespace = 显示/隐藏空格(_S) -# Menu items for changing and refreshing the syntax-highlighting language for -# the current buffer. +# Menu items for changing the syntax-highlighting language for the current +# buffer. Select Lexer... = 选择_Lexer... -Refresh Syntax Highlighting = 刷新语法高亮(_R) # Menu items for navigating between views, splitting them, closing them, and # resizing them. View = 视图(_V) diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index e105d57b..194db9f4 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -119,7 +119,6 @@ local M = {} -- Ctrl+Alt+\\ |^\\ |None |Toggle wrap mode -- Ctrl+Alt+Shift+S|^⇧S |None |Toggle view whitespace -- Ctrl+Shift+L |⌘⇧L |M-S-L |Select lexer... --- F5 |F5 |^L<br/>F5 |Refresh syntax highlighting -- **View** | | | -- Ctrl+Alt+N |^⌥⇥ |M-^V N |Next view -- Ctrl+Alt+P |^⌥⇧⇥ |M-^V P |Previous view @@ -258,7 +257,7 @@ module('textadept.keys')]] -- * Ctrl+Meta+Symbol keys are not recognized. -- -- Unassigned keys (~ denotes keys reserved by the operating system): --- c: g~~ ~ ~ +-- c: g~~ l~ ~ -- cm: cd g~~ k ~ q t yz -- m: e J qQ sS vVw yY _ + -- Note: m[befhstv] may be used by Linux/BSD GUI terminals for menu access. @@ -420,8 +419,6 @@ local bindings = { [m_buffer[_L['Toggle Wrap Mode']][2]] = {'ctrl+alt+\\', 'ctrl+\\', nil}, [m_buffer[_L['Toggle View Whitespace']][2]] = {'ctrl+alt+S', 'ctrl+S', nil}, [textadept.file_types.select_lexer] = {'ctrl+L', 'cmd+L', 'meta+L'}, - [m_buffer[_L['Refresh Syntax Highlighting']][2]] = - {'f5', 'f5', {'f5', 'ctrl+l'}}, -- View. [m_view[_L['Next View']][2]] = {'ctrl+alt+n', 'ctrl+alt+\t', nil}, diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index d6120771..7a3e5465 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -299,8 +299,7 @@ local default_menubar = { view.view_ws = view.view_ws == 0 and view.WS_VISIBLEALWAYS or 0 end}, SEPARATOR, - {_L['Select Lexer...'], textadept.file_types.select_lexer}, - {_L['Refresh Syntax Highlighting'], function() buffer:colorize(1, -1) end} + {_L['Select Lexer...'], textadept.file_types.select_lexer} }, { title = _L['View'], |