Summary: | Line number of cursor (statusbar) counts hard-returns instead of lines of text | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | J. Jordan <jjordanthesailor> |
Component: | general | Assignee: | Calligra Words Bugs <calligra-words-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | cbo, inge |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/84f1c7e1a03651a006c4832bfba8e774fdf4c307 | Version Fixed In: | |
Sentry Crash Report: |
Description
J. Jordan
2012-04-18 16:11:41 UTC
I see this too so I confirm the bug. *** This bug has been marked as a duplicate of bug 283351 *** Sorry if this was the bug you refered to it seems i mis closed it No a UI issues as such - the line numbers are not available from Qt - what we do in the satistics docker is manually counting - that is way too heavy for this case It does however seem like there is a new functionality in Qt4.5 that will allow us to do this: textBlock->setLineCount() No promises Git commit 84f1c7e1a03651a006c4832bfba8e774fdf4c307 by C. Boemann. Committed on 27/03/2015 at 16:30. Pushed by boemann into branch 'calligra/2.9'. Without som small magic the linenumber of a block was the same as the block number Aso we need to add the linenumber relative to the block M +1 -0 libs/textlayout/KoTextLayoutArea.cpp M +3 -1 words/part/KWStatusBar.cpp http://commits.kde.org/calligra/84f1c7e1a03651a006c4832bfba8e774fdf4c307 |