diff options
author | 2013-04-24 11:23:02 -0400 | |
---|---|---|
committer | 2013-04-24 11:23:02 -0400 | |
commit | 49f5b5d500b19fe3ebeb14d1a4cdcda61f0eab59 (patch) | |
tree | a350c207bae16a89a56604a1368afbadf6846c6f /core | |
parent | 36854c6ca8970714a6c672ca8774da4c5e9bd69e (diff) | |
download | textadept-49f5b5d500b19fe3ebeb14d1a4cdcda61f0eab59.tar.gz textadept-49f5b5d500b19fe3ebeb14d1a4cdcda61f0eab59.zip |
Mark recognized errors in compile/run output and added navigation functions.
Diffstat (limited to 'core')
-rw-r--r-- | core/gui.lua | 4 | ||||
-rw-r--r-- | core/locale.conf | 3 | ||||
-rw-r--r-- | core/locales/locale.de.conf | 3 | ||||
-rw-r--r-- | core/locales/locale.es.conf | 3 | ||||
-rw-r--r-- | core/locales/locale.fr.conf | 5 | ||||
-rw-r--r-- | core/locales/locale.ru.conf | 3 |
6 files changed, 12 insertions, 9 deletions
diff --git a/core/gui.lua b/core/gui.lua index a69ccbd6..3687aae0 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -54,7 +54,6 @@ end -- displayed before being printed to. -- @param buffer_type String type of message buffer. -- @param ... Message strings. --- @usage gui._print(_L['[Error Buffer]'], error_message) -- @usage gui._print(_L['[Message Buffer]'], message) -- @name _print function gui._print(buffer_type, ...) pcall(_print, buffer_type, ...) end @@ -438,8 +437,7 @@ events_connect(events.QUIT, function() '--no-newline') == '2' end) -events_connect(events.ERROR, - function(...) gui._print(_L['[Error Buffer]'], ...) end) +events_connect(events.ERROR, gui.print) --[[ The tables below were defined in C. diff --git a/core/locale.conf b/core/locale.conf index 9a96a8df..0b3486e7 100644 --- a/core/locale.conf +++ b/core/locale.conf @@ -53,7 +53,6 @@ Col: = Col: Quit without saving? = Quit without saving? The following buffers are unsaved: = The following buffers are unsaved: Quit _without saving = Quit _without saving -[Error Buffer] = [Error Buffer] % core/keys.lua Keychain: = Keychain: @@ -180,6 +179,8 @@ Command _Entry = Command _Entry Select Co_mmand = Select Co_mmand _Run = _Run _Compile = _Compile +_Next Error = _Next Error +_Previous Error = _Previous Error _Adeptsense = _Adeptsense _Complete Symbol = _Complete Symbol Show _Documentation = Show _Documentation diff --git a/core/locales/locale.de.conf b/core/locales/locale.de.conf index d904b357..2fd53632 100644 --- a/core/locales/locale.de.conf +++ b/core/locales/locale.de.conf @@ -54,7 +54,6 @@ Col: = Spalte: Quit without saving? = Beenden ohne zu speichern? The following buffers are unsaved: = Die folgenden Buffer sind ungespeichert: Quit _without saving = Beenden ohne zu speichern -[Error Buffer] = [Fehler-Buffer] % core/keys.lua Keychain: = Keychain: @@ -170,6 +169,8 @@ Command _Entry = Befehlseingabe Select Co_mmand = Befehl auswählen _Run = Ausführen _Compile = Kompilieren +_Next Error = Nächstes Fehler +_Previous Error = Voriges Fehler _Adeptsense = _Adeptsense _Complete Symbol = Symbol vervollständigen Show _Documentation = Dokumentation anzeigen diff --git a/core/locales/locale.es.conf b/core/locales/locale.es.conf index c78c90c6..75cebba6 100644 --- a/core/locales/locale.es.conf +++ b/core/locales/locale.es.conf @@ -54,7 +54,6 @@ Col: = Col: Quit without saving? = ¿Salir sin guardar? The following buffers are unsaved: = Los siguientes buffers no han sido guardados: Quit _without saving = Salir _sin guardar -[Error Buffer] = [Buffer de errores] % core/keys.lua Keychain: = Combinación de teclas: @@ -181,6 +180,8 @@ Command _Entry = _Línea de comandos Select Co_mmand = _Seleccionar comandos _Run = _Ejecutar _Compile = _Compilar +_Next Error = Error sig_uiente +_Previous Error = Error _anterior _Adeptsense = _Adeptsense _Complete Symbol = _Completar símbolo Show _Documentation = _Mostrar documentación diff --git a/core/locales/locale.fr.conf b/core/locales/locale.fr.conf index 162ef267..42d9f5b1 100644 --- a/core/locales/locale.fr.conf +++ b/core/locales/locale.fr.conf @@ -54,7 +54,6 @@ Col: = Col: Quit without saving? = Quitter sans enregistrer? The following buffers are unsaved: = Les buffers suivants ne sont pas sauvegardés: Quit _without saving = Quitter _sans enregistrer -[Error Buffer] = [Buffer des erreurs] % core/keys.lua Keychain: = Keychain: @@ -181,6 +180,8 @@ Command _Entry = Ligne de _commande Select Co_mmand = Sélectionner co_mmande _Run = _Lancer _Compile = _Compiler +_Next Error = Erreur _suivant +_Previous Error = Erreur _précédent _Adeptsense = _Adeptsense _Complete Symbol = _Compléter symbole Show _Documentation = Ouvrir _documentation @@ -194,7 +195,7 @@ Snap_open = Snap_open Snapopen _User Home = Snapopen dossier _utilisateur Snapopen _Textadept Home = Snapopen dossier _Textadept Snapopen _Current Directory = Snapopen dossier _courant -_Snippets = _Snippets +_Snippets = S_nippets _Insert Snippet... = _Insérer snippet... _Expand Snippet/Next Placeholder = _Étendre snippet/Marque snippet suivante _Previous Snippet Placeholder = Marque snippet _précédente diff --git a/core/locales/locale.ru.conf b/core/locales/locale.ru.conf index 682adbea..9880a32e 100644 --- a/core/locales/locale.ru.conf +++ b/core/locales/locale.ru.conf @@ -54,7 +54,6 @@ Col: = Столбец: Quit without saving? = Выйти без сохранения? The following buffers are unsaved: = Данные буферы не сохранены: Quit _without saving = Выйти _без сохранения -[Error Buffer] = [Буфер ошибок] % core/keys.lua Keychain: = Комбинации клавиш: @@ -170,6 +169,8 @@ Command _Entry = Командная _строка Select Co_mmand = Выбрать _команду _Run = _Запустить _Compile = _Скомпилировать +_Next Error = Следующая Ошибка +_Previous Error = Предыдущая Ошибка _Adeptsense = _Adeptsense _Complete Symbol = _Завершить символ Show _Documentation = Показать _документацию |