aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test
diff options
context:
space:
mode:
authorHugues Larrive <unknown>2020-06-09 21:10:02 +1000
committerHugues Larrive <unknown>2020-06-09 21:10:02 +1000
commit7e265143af4ccd9d3614c8aca6e3ee1cbd809c7d (patch)
treea6e70dc762ab828a943ffa397deb068ca09fc35d /lexilla/test
parent4b01695fc57d24e455a4b2f7a17d4db19c449fec (diff)
downloadscintilla-mirror-7e265143af4ccd9d3614c8aca6e3ee1cbd809c7d.tar.gz
Feature [feature-requests:1358]. Support lstlisting environment that is similar
to verbatim.
Diffstat (limited to 'lexilla/test')
-rw-r--r--lexilla/test/examples/latex/Feature1358.tex10
-rw-r--r--lexilla/test/examples/latex/Feature1358.tex.styled10
2 files changed, 20 insertions, 0 deletions
diff --git a/lexilla/test/examples/latex/Feature1358.tex b/lexilla/test/examples/latex/Feature1358.tex
new file mode 100644
index 000000000..88863303f
--- /dev/null
+++ b/lexilla/test/examples/latex/Feature1358.tex
@@ -0,0 +1,10 @@
+\begin{lstlisting}[language=make]
+# If no BOARD is found in the environment, use this default:
+BOARD ?= bluepill
+
+# To use chinese st-link v2 and ch340 dongle with bluepill
+ifeq ($(BOARD),bluepill)
+STLINK_VERSION=2
+PORT_LINUX=/dev/ttyUSB0
+endif
+\end{lstlisting}
diff --git a/lexilla/test/examples/latex/Feature1358.tex.styled b/lexilla/test/examples/latex/Feature1358.tex.styled
new file mode 100644
index 000000000..e753ea14d
--- /dev/null
+++ b/lexilla/test/examples/latex/Feature1358.tex.styled
@@ -0,0 +1,10 @@
+{1}\begin{2}{lstlisting}{8}[language=make]
+# If no BOARD is found in the environment, use this default:
+BOARD ?= bluepill
+
+# To use chinese st-link v2 and ch340 dongle with bluepill
+ifeq ($(BOARD),bluepill)
+STLINK_VERSION=2
+PORT_LINUX=/dev/ttyUSB0
+endif
+{1}\end{5}{lstlisting}{0}