Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#439 screen refreshment error

open-accepted
nobody
None
4
2008-01-04
2004-11-12
Anonymous
No

NEdit release of Aug 20, 2004

Built on: Linux, 386, Intel C++
Built at: Nov 11 2004, 12:39:56
With Motif: 2.2.3 [@(#)Motif Version 2.2.3]
Running Motif: 2.2 [unknown]
Server: The XFree86 Project, Inc 40300000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: en_US.iso885915

-----------------------------------------------------------

1) set initial nedit window size to 60x90;

2) open a new window and copy the following lines to
the new opened window;

############################################################################AAAAAAAAAAAAA###;

#################################################################################################################;

3) search "aaaaaaaaaaaaa" (13 As) by press "Ctrl+F",
when this string is found and highlighted, press
"BackSpace" to delete it;

4) Then you will find a portion of the cursor still
remains at the right edge of the window.

5) if your cursor is blinking, you may not be able to
observe this each time with step 1-4. In this case,
just undo the changes by pressing "Ctrl+Z" and delete
the highlihted string again. Repeat this undo and
deletion several times you will see what I am saying.

another similar problem:

If you set the cusor to "overtype" model \(the cursor
will becomes arectangle\), press "End" key to move your
cursor to the end of the first line, then move the
cursor left, and you will see the cursor is not remved
completely-a small portion still remains at the right
edge of the window.

Discussion

  • Thorsten Haude
    Thorsten Haude
    2005-02-07

    • priority: 5 --> 2
    • status: open --> open-accepted
     
  • Thorsten Haude
    Thorsten Haude
    2006-09-30

    • priority: 2 --> 9
     
  • Tony Balinski
    Tony Balinski
    2007-03-02

    Logged In: YES
    user_id=618141
    Originator: NO

    Still behaves as described.

    I think this is essentially because the redraw of the cursor position to blank out the cursor occurs at the current cursor position, rather than at its old position. If you press the backspace when the cursor is blanked, there is no leftover pixel cruft. Strictly, we should blank the cursor before any change is made (to avoid this problem) and otherwise store the previous cursor's position for blanking refresh rather than assume it's the same as the current one. Now how tricky is that?

     
  • Thorsten Haude
    Thorsten Haude
    2008-01-04

    Logged In: YES
    user_id=119143
    Originator: NO

    These things tend to be tricky, and it's nowhere near crippling, so it can wait for the next release.

     
  • Thorsten Haude
    Thorsten Haude
    2008-01-04

    • priority: 9 --> 4