another citation bug fixed; small lyxstring compatibility fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5409 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-10-15 12:49:30 +00:00
parent f7bd408e7f
commit 49b3c169e3
5 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-10-14 Angus Leeming <leeming@lyx.org>
* FormCitation.C (updateBrowser): deselect the highlighted item when
updating the browser.
2002-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* several files: do not include .tmpl files in .C files.

View File

@ -485,8 +485,11 @@ void FormCitation::updateBrowser(FL_OBJECT * browser,
// changed by loading the contents of the vec...
vector<string> browser_keys = getVectorFromBrowser(browser);
if (browser_keys == keys)
if (browser_keys == keys) {
fl_deselect_browser(browser);
fl_set_browser_topline(browser, 1);
return;
}
// They will be changed. Proceed.
fl_clear_browser(browser);

View File

@ -1,3 +1,8 @@
2002-10-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* math_inset.C (asString): add a .c_str() when compiling with
lyxstring
2002-10-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* formulabase.C (localDispatch): support the WORD movement lfuns

View File

@ -243,7 +243,7 @@ string asString(MathArray const & ar)
std::ostringstream os;
WriteStream ws(os);
ws << ar;
return os.str();
return os.str().c_str();
}

View File

@ -64,6 +64,11 @@ What's new
- fix the thesaurus dialog so that it can be closed with the Escape key
- fix problem where citation labels do not appear in 'natbib' style
when the user expects them to do so.
- fix problems with wrong highlighted entry in citation dialog
- fix drawing problem when a line of text contains both left-to-right
and right-to-left text