src/Messages.cpp: general cleanup.
(cleanTranslation): remove [[context]] strings from a docstring. Use
plain string manupulation instead of regular expressions.
(get): use cleanTranslation also on strings that got translated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21642 a592a061-630c-0410-9148-cb99ea01b6c8
appendix marker if the deleted paragraph was the last one (bug 4352)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21640 a592a061-630c-0410-9148-cb99ea01b6c8
as externally modified.
* src/Buffer.{cpp,h} (saveCheckSum): switch to FileName class.
(Buffer::readFile): filenames are always stored as UTF-8 in the
FileName class.
* src/callback.cpp (writeAs): use FileName when calling saveCheckSum.
* src/support/FileName.h: correct comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21626 a592a061-630c-0410-9148-cb99ea01b6c8
- safer (but slightly less nice) fix for bug 4334. Fixes bug 4347 that was introduced in r21488.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21540 a592a061-630c-0410-9148-cb99ea01b6c8
http://bugzilla.lyx.org/show_bug.cgi?id=4335
I say "assertion" in status.15x because the crash happens only in debug mode. Of course, as assertion are enabled in the Windows packages these are equivalent to crashes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21528 a592a061-630c-0410-9148-cb99ea01b6c8
- move the LFUN_OUTLINE_*'s out of here ...
* src/Text3.cpp:
- to this place. This fixes a crash (bug 4330).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21473 a592a061-630c-0410-9148-cb99ea01b6c8
BufferView::moveToPosition(..) failed for every position inside an inset because buffer_->text() was used instead of cursor_.text() to set the current font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21442 a592a061-630c-0410-9148-cb99ea01b6c8
- fix off-by-one-error in append-column (fix bug 4323/2).
This is Martin's original fix (r21430) minus the buggy renaming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21439 a592a061-630c-0410-9148-cb99ea01b6c8
- return 0 instead of char_type(), which is unpredictable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21427 a592a061-630c-0410-9148-cb99ea01b6c8
- empty return if the char is not good() (fix bug 4318).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21424 a592a061-630c-0410-9148-cb99ea01b6c8
- do not close the dialog on double click (bug 4090).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21349 a592a061-630c-0410-9148-cb99ea01b6c8
- update screen after checking the last word (bug 3586).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21348 a592a061-630c-0410-9148-cb99ea01b6c8
- implement update_contents() and move selection-setting of the find input widget there
(fixes bug 3999).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21288 a592a061-630c-0410-9148-cb99ea01b6c8
necessary to mark them in the proper language for typesetting.
* src/Paragraph.cpp
(Paragraph::Pimpl::writeScriptChars): new method.
(Paragraph::Pimpl::simpleTeXSpecialChars): output proper
latex code for greek and cyrillic chars when they cannot
be encoded using the current latex encoding.
* src/LaTeXFeatures.cpp: add textgreek and textcyr features.
* src/Encoding.{cpp,h}
(Encodings::isKnownScriptChar): new method.
* lib/unicodesymbols: add greek and cyrillic alphabetic chars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21184 a592a061-630c-0410-9148-cb99ea01b6c8
throw exceptions on tests like existence of a file. Work around it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21172 a592a061-630c-0410-9148-cb99ea01b6c8
- fix several duplicated accelerators (bug 4277)
* src/frontends/qt4/QParagraph.cpp:
- use the original string from the dialog for the alignDefaultRB
widget, in order to display the accelerator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21143 a592a061-630c-0410-9148-cb99ea01b6c8
* src/Buffer.cpp (Buffer::save): also replace the ':' character
in the mangled filename as this it is illegal on Windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21103 a592a061-630c-0410-9148-cb99ea01b6c8
- fix crash when theApp() didn't exist (command line export of document with branches) [bug 4255]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20841 a592a061-630c-0410-9148-cb99ea01b6c8
- revert the singlepar optimization (r20567)
for the time being
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20728 a592a061-630c-0410-9148-cb99ea01b6c8