bugGNU nano - Bugs: bug #27549, Mouse click doesn't set cursor to...

 
 

bug #27549: Mouse click doesn't set cursor to the correct position

Submitted by:  Hannes Schueller <mr_creosote>
Submitted on:  Mon 28 Sep 2009 09:01:23 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Chris Allegretta <astyanax>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 14 Nov 2009 06:52:37 PM UTC, comment #3:

Woo, okay moving to fixed.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Fri 13 Nov 2009 10:19:04 PM UTC, comment #2:

Working fine, too. It even automatically moves the viewport so that the line I clicked comes into full view - excellent!

Hannes Schueller <mr_creosote>
Fri 13 Nov 2009 08:38:50 PM UTC, comment #1:

Okay, how about after r4422?

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Mon 28 Sep 2009 09:01:23 AM UTC, original submission:

Version 2.1.11

When soft-wrapping is enabled, clicking in the middle of a soft-wrapped line won't set the cursor there. Instead, it'll appear a few lines above or below the line in which it should appear. Interestingly, clicking again on the same spot will make the cursor jump again (to the other side of the line, i.e. if the cursor has been warped above the line first, it'll appear below the line now and the other way around).

The number of lines where the cursor will appear seems to be related to how many times the line clicked on has been wrapped. Clicking on the middle visual line of a line which has been soft-wrapped twice (i.e. it's occupying three visual lines) will make the cursor alternate between the line above the line clicked on and the line below the one clicked on. Five visual lines throws the cursor away even further.

Hannes Schueller <mr_creosote>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by astyanax (Posted a comment)
  • -unavailable- added by mr_creosote (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 Nov 2009 04:55:17 AM UTCastyanaxOpen/ClosedOpen=>Closed
    Sat 14 Nov 2009 06:52:37 PM UTCastyanaxStatusReady For Test=>Fixed
    Fri 13 Nov 2009 08:38:50 PM UTCastyanaxAssigned toNone=>astyanax
    Fri 13 Nov 2009 08:38:49 PM UTCastyanaxStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1