Richard Heck
51aebc9327
Fix whitespace at EOL.
2017-07-03 13:46:30 -04:00
Guillaume Munch
1f945177b9
Docstringify getLongString in general and preamble snippets in particular
...
Prepare ground for TexRow InPreamble
2016-10-17 00:16:59 +02:00
Juergen Spitzmueller
cf44bb842b
Provide optional trimmed version of Lexer::getString and getDocString
...
Prerequisite to fix #9518
2015-05-19 10:15:34 +02:00
Jean-Marc Lasgouttes
0e2ef88b43
Fix uninitialized member in Lexer constructor
...
Fixes coverity issue 23501.
2015-03-05 12:24:47 +01:00
Peter Kümmel
f41057cae6
clang: std::string is used here, fwd is not enough
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40417 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 16:03:37 +00:00
Richard Heck
63844ddbf9
Clarify and add some comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33919 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:00:26 +00:00
Jürgen Spitzmüller
c2bdcc6b63
* Lexer.{cpp,h}:
...
- implement quoteString for docstring
* Menus.cpp:
- use it for quoting flex argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27703 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-25 14:44:17 +00:00
André Pönitz
f1cba8ff64
more latin1..utf8 schanges. all of src/* should be utf8 now
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
Jürgen Spitzmüller
adc9429855
Correctly handle quotation marks in command preferences (bug 2016):
...
* src/LyXRC.cpp:
- new helper function to escape commands
- parse escaped commands
* src/Lexer.{cpp,h}:
- whitespace/typos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24613 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 13:53:28 +00:00
André Pönitz
e7645f2439
use simpler parser interface
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24122 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 10:34:29 +00:00
André Pönitz
193c25946b
make Lexer interface a bit more friendly
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24108 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 22:38:14 +00:00
André Pönitz
c88e7a7ef6
simplify Lexer handling a bit more
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24106 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 20:55:09 +00:00
André Pönitz
11a0458d3f
next try...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 23:06:22 +00:00
André Pönitz
2012beb58e
revert last patch. there's something wrong, possibly unrelated to this
...
patch, but as this was rather largish...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24099 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:44:33 +00:00
André Pönitz
7677e9487c
simplify Lexer use a bit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24098 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:14:45 +00:00
André Pönitz
6c97761563
even example code should follow the style conventions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23855 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-20 20:36:30 +00:00
André Pönitz
a8cd9a4b8f
cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h"
...
in header files when possible. Adjust .cpp files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:17:22 +00:00
André Pönitz
a5263e0f92
introduce a header to forward declare std::string.
...
hope there are only conforming implementaions out there ;-}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21312 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-31 22:40:34 +00:00
André Pönitz
fad47c0fe0
boost/utility -> boost/noncopyable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20608 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-30 15:47:00 +00:00
Lars Gullik Bjønnes
897436efbb
Whitespace cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 22:27:45 +00:00
André Pönitz
39e79d8602
rename LyXLex into Lexer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 11:30:54 +00:00