Mantis Issue Tracking for Scribus
· Hosting provided by Anduin.net / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010985ScribusStory Editor / Text Framespublic12-Aug-01 13:1812-Aug-02 15:42
ReporterJLuc 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version1.5.0svn 
Target VersionFixed in Version 
Summary0010985: jump over line when going down in text frame
DescriptionCreate text with 5 lines
Line 1 is longer than line 2
for ex :

goto end of line (after last charp of note 1)
go down with keyboard arrow down :
--> editing carret jumps down to begginnig note 3
one more keyboard arrow down :
editing carret goes down to character in line 4 at position of end of line of line 1 (or end of line if shorter)

When moving up, no such "jump" problem.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0028725)
cezaryece (developer)
12-Aug-02 09:23
edited on: 12-Aug-02 09:25

diff --git Scribus/scribus/text/storytext.cpp Scribus/scribus/text/storytext.cpp
index f9b0aa1..87ebeba 100644
--- Scribus/scribus/text/storytext.cpp
+++ Scribus/scribus/text/storytext.cpp
@@ -1433,8 +1433,8 @@ int StoryText::nextLine(int pos)
                     return j;
                 }
             }
- m_lastMagicPos = ls2.lastItem + 1;
- return ls2.lastItem + 1;
+ m_lastMagicPos = ls2.lastItem;
+ return ls2.lastItem;
         }
     }
     return lastFrameItem;

(0028726)
cezaryece (developer)
12-Aug-02 09:26

simply fix for that issue
(0028727)
jghali (administrator)
12-Aug-02 09:27
edited on: 12-Aug-02 10:03

Yes, that's what i tried. Unfortunately this patch cause another issue when cursor goes to the last line of the frame : in some case cursor is positioned before the last char instead of after.


- Issue History
Date Modified Username Field Change
12-Aug-01 13:18 JLuc New Issue
12-Aug-02 09:23 cezaryece Note Added: 0028725
12-Aug-02 09:25 cezaryece Note Edited: 0028725 View Revisions
12-Aug-02 09:26 cezaryece Note Added: 0028726
12-Aug-02 09:26 cezaryece Assigned To => jghali
12-Aug-02 09:26 cezaryece Status new => assigned
12-Aug-02 09:27 jghali Note Added: 0028727
12-Aug-02 10:03 jghali Note Edited: 0028727 View Revisions
12-Aug-02 15:42 cezaryece Assigned To jghali =>



Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker