* text.C (numberOfHfills): do not forget to count the last hfill

(bug 2509).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13749 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-04-26 13:42:19 +00:00
parent 7e9bd4bd81
commit 2a156525f9
3 changed files with 23 additions and 16 deletions

View File

@ -1,3 +1,8 @@
2006-04-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* text.C (numberOfHfills): do not forget to count the last hfill
(bug 2509).
2006-04-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* lyx_main.C (reconfigureUserLyXDir): test lib/configure.py, not

View File

@ -133,7 +133,7 @@ int numberOfLabelHfills(Paragraph const & par, Row const & row)
int numberOfHfills(Paragraph const & par, Row const & row)
{
pos_type const last = row.endpos() - 1;
pos_type const last = row.endpos();
pos_type first = row.pos();
// hfill *DO* count at the beginning of paragraphs!

View File

@ -35,12 +35,17 @@ What's new
* Document input/output:
- Convert definitions of itemize and enumerate environments in old layout
files correctly
files correctly.
- Fix conversion of minipages (default height and inner vertical
position) from 1.3.
- Make sure that the amsmath package is used in LaTeX output when
using the AMS-specific commands \xleftarrow, \xrightarrow or
array constructs split, gathered, aligned and alignedat (bug 2149).
- Load the tipa package automatically when needed.
- Don't get confused by 0-Characters in MikTeX logfiles anymore
- Always honor the "Requirement" tag in External Template Definitions
@ -49,27 +54,24 @@ What's new
- Fix metrics of AMS array environments like bmatrix, vmatrix etc. (bug 2036)
- Fix conversion of minipages (default height and inner vertical position) from 1.3.7
- Fix undo in matrices.
* User Interface:
- When pasting contents to a tabular with the middle mouse, the language has sometimes
be changed. This is fixed now.
- Don't jump back to previous cursor position when trying to click on
an inset (bug 2526).
- Set change tracking marks properly when copying between documents with different change
tracking status (bug 2207).
- Load the tipa package automatically when needed.
- Fix undo in math matrices
- When pasting contents to a tabular with the middle mouse button, the
language has sometimes be changed. This is fixed now.
- Text copied from an ERT box has no longer the pseudo "latex" language
(bug 2476)
(bug 2476).
- Don't jump back to previous cursor position when trying to click on
an inset (bug 2526)
- Set change tracking marks properly when copying between documents
with different change tracking status (bug 2207).
- Fix display of horizontal fill which appears at the end of a line
(bug 2508)
* Configuration/Installation: