mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fixes due to new math-insert syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2543 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1555e4c27c
commit
1148c5d181
@ -1,3 +1,8 @@
|
||||
2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
|
||||
" or \.
|
||||
|
||||
2001-08-16 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* lyxfunc.C (dispatch): implemented the new FINISHED states.
|
||||
|
@ -264,7 +264,7 @@ bool FormMathsPanel::input(FL_OBJECT *, long data)
|
||||
|
||||
void FormMathsPanel::insertSymbol(string const & sym) const
|
||||
{
|
||||
lv_->getLyXFunc()->dispatch(LFUN_INSERT_MATH, sym);
|
||||
lv_->getLyXFunc()->dispatch(LFUN_INSERT_MATH, '\\' + sym);
|
||||
}
|
||||
|
||||
|
||||
|
@ -311,7 +311,10 @@ bool LyXLex::Pimpl::next(bool esc /* = false */)
|
||||
// escape the next char
|
||||
is.get(cc);
|
||||
c = cc;
|
||||
escaped = true;
|
||||
if (c == '\"' || c == '\\')
|
||||
escaped = true;
|
||||
else
|
||||
buff[++i] = '\\';
|
||||
}
|
||||
buff[++i] = c;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user