Commit 92c966be authored by André Simon's avatar André Simon

v45 revised

parent cca88fa6
......@@ -3,15 +3,15 @@ CHANGELOG Highlight
highlight 3.45
xx.09.2018
02.10.2018
-added DocumentHeader and DocumentFooter plug-in hooks
-added RemoveKeyword Lua function for syntax definitions
-added testcase indicators (see README_TESTCASES)
-added syntax test indicators (see README_TESTCASES)
-added support for ISO and R10 variants of Modula2 (thanks to Benjamin Kowarsch)
-fixed R identifiers (https://gitlab.com/saalen/highlight/merge_requests/77)
-fixed ALAN IF identifiers (see https://gitlab.com/saalen/highlight/merge_requests/79)
-fixed issue with Bash string interpolations
-fixed issue with Bash string interpolation
-fixed some bugs found by coverity tool (https://gitlab.com/saalen/highlight/issues/82)
-added Swift keywords and types
-added filetypes.conf.5 man page (https://gitlab.com/saalen/highlight/issues/83)
......
-------------------------------------------------------------------------------
--- HIGHLIGHT LANGUAGE LIST --------------------------------- January 2018 ---
--- HIGHLIGHT LANGUAGE LIST --------------------------------- October 2018 ---
-------------------------------------------------------------------------------
All supported languages and the syntax definition file names are listed below.
......@@ -10,12 +10,14 @@ See README for other user defined locations.
Packaged language definitions (highlight --list-langs):
ABAP/4 : abap4 ( abp )
ABC : abc
Advanced Backus-Naur Form : abnf
ActionScript : actionscript ( as )
ADA95 : ada ( a adb ads gnad )
Agda : agda
ALAN Interactive Fiction Language: alan ( alan i )
ALGOL 68 : algol ( alg )
AMPL : ampl ( dat run )
AMTrix : amtrix ( hnd s4 s4h s4t t4 )
......@@ -74,6 +76,7 @@ Elixir : elixir ( ex exs )
E-Mail treated as Markup : email
Erlang : erlang ( erl hrl )
Euphoria : euphoria ( eu ew exw wxu )
Excel Formulas : excel
Express : express ( exp )
FAME : fame ( fame )
fasm : fasm ( inc )
......@@ -104,7 +107,7 @@ Inno Setup : innosetup ( iss )
INTERLIS : interlis ( ili )
IO : io
Jasmin : jasmin ( j )
Java : java ( groovy grv jenkinsfile )
Java : java ( gradle groovy grv jenkinsfile )
Javascript : js
Javascript Regex : js_regex
JSON : json
......@@ -167,11 +170,11 @@ PL/Perl : plperl
PL/Python : plpython
PL/Tcl : pltcl
PO translation : po
PolyGen : polygen ( grm )
Polygen : polygen ( grm )
Pony : pony
POV-Ray : pov
Prolog : pro ( pro )
Progress : progress ( i p w )
Progress : progress ( p w )
PostScript : ps
Microsoft PowerShell : ps1
PATROL : psl
......@@ -215,6 +218,7 @@ TCSH : tcsh
TeX and LaTeX : tex ( cls sty )
TypeScript : ts
Transact-SQL : tsql
TSX (TypeScript with React) : tsx
TTCN3 : ttcn3
Plain text : txt ( text )
UPC (and C, technically) : upc
......@@ -223,6 +227,7 @@ Visual Basic : vb ( bas basic bi vbs )
Verilog : verilog ( v )
VHDL : vhd
vimscript : vimscript ( vim vimrc )
vue.js (beta) : vue
Whiley : whiley
XML : xml ( csproj dtd ecf ent glade hdr hub jnlp nrm resx sgm sgml tld vxml wml xsd xsl )
SuperX++ : xpp
......
......@@ -82,12 +82,15 @@ int main() {
Running highlight with this file will not produce any additional output, as all
tests pass.
tests pass. The exit status will be 0.
If you change the kwa in 5) to kwb (or any other state), highlight will print an error
like this:
like this, and exit with status 1:
```
highlight: Could not validate file:
syntax_test_1.c line 17, column 4: got kwa instead of kwb
```
The highlight GUI will show the error messages in an error summary prompt.
......@@ -98,12 +98,12 @@ install:
${INSTALL_DATA} ./man/filetypes.conf.5.gz ${DESTDIR}${man_dir}man5/
${INSTALL_DATA} ./AUTHORS ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README.md ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_DE.md ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_REGEX.md ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_LANGLIST.md ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_PLUGINS.md ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_TESTCASES.md ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_DE ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_REGEX ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_LANGLIST ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_PLUGINS ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./README_TESTCASES ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./ChangeLog ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./COPYING ${DESTDIR}${doc_dir}
${INSTALL_DATA} ./INSTALL ${DESTDIR}${doc_dir}
......
......@@ -1292,7 +1292,7 @@ void MainWindow::showHelpFile(const QString& file){
void MainWindow::on_action_Manual_triggered()
{
showHelpFile("README.md");
showHelpFile("README");
}
void MainWindow::on_action_Changelog_triggered()
......@@ -1302,7 +1302,7 @@ void MainWindow::on_action_Changelog_triggered()
void MainWindow::on_action_Plug_Ins_triggered()
{
showHelpFile("README_PLUGINS.md");
showHelpFile("README_PLUGINS");
}
void MainWindow::on_action_License_triggered()
......
This diff was suppressed by a .gitattributes entry.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment