]> git.lyx.org Git - lyx.git/commit
Fix bug 5040:
authorJürgen Spitzmüller <spitz@lyx.org>
Mon, 14 Jul 2008 16:09:59 +0000 (16:09 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Mon, 14 Jul 2008 16:09:59 +0000 (16:09 +0000)
commit1d0bac11443d018a3bd86acd21b649aefc37f77b
treef1a9cfb3bfbb8be629c925c401048c2af8af7f19
parent6a30544088ecce0ef9432720a54d6cfb22af6e50
Fix bug 5040:

* src/support/lstrings.{cpp,h}:
- new optional param "bool keepemtpy" in getVectorFromString.
  By default, empty content between two delimiters was/is not added to the vector.
  This can be changed with this bool.

* src/insets/InsetIndex.cpp:
- care for the case when plaintext returns nothing (e.g when ERT is used)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25616 a592a061-630c-0410-9148-cb99ea01b6c8
src/insets/InsetIndex.cpp
src/support/lstrings.cpp
src/support/lstrings.h