bugGNU nano - Bugs: bug #50316, spell-checking marked text on a...

 
 

bug #50316: spell-checking marked text on a single line misplaces the cursor

Submitted by:  David Lawrence Ramsey <dolorous>
Submitted on:  Wed 15 Feb 2017 04:53:45 PM UTC  
 
Severity: 2 - MinorStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 16 Feb 2017 05:17:44 PM UTC, comment #2:

It works. Thanks!

David Lawrence Ramsey <dolorous>
Project Administrator
Thu 16 Feb 2017 10:56:08 AM UTC, comment #1:

Fixed in git, d60e7d37.

Please verify.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 15 Feb 2017 04:53:45 PM UTC, original submission:

(Taken from mailing list discussion.)

Using "aspell -c" as your alternative spell checker, and assuming "nano" isn't in your dictionary:

With current git, forwards: Open files.c; move to line 8, column 10; turn the mark on; move forward to line 8, column 14 (so the word "nano" is covered by the mark), and then press ^T to start the alternative spell checker. When it triggers on "nano", press "r" to replace, replace "nano" with "nanooooo", press "i" to ignore the new word, and after the spell checker finishes, the cursor will be on the space before "nanooooo", with the mark starting on and covering only the position the cursor is on.

With current git, backwards: Open files.c; move to line 8, column 14; turn the mark on; move backward to line 8, column 14 (so the word "nano" is covered by the mark), and then press ^T to start the alternative spell checker. When it triggers on "nano", press "r" to replace, replace "nano" with "nanooooo", press "i" to ignore the new word, and after the spell checker finishes, the cursor will be on the space where "nanooooo" starts, with the mark starting on the space before "nanooooo" and covering only the space before the position the cursor is on.

If "nano" is in your dictionary, the spell checker will return, and the mark will be covering the " GNU " just before "nano". Bug exists since version 2.4.1. Only happens when the marked region is within a single line.

David Lawrence Ramsey <dolorous>
Project Administrator

 

(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 bens (Posted a comment)
  • -unavailable- added by dolorous (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 24 Feb 2017 10:38:10 AM UTCbensOpen/ClosedOpen=>Closed
      SummarySpell-checking marked text on a single line misplaces the cursor=>spell-checking marked text on a single line misplaces the cursor
    Thu 16 Feb 2017 10:56:08 AM UTCbensSeverity3 - Normal=>2 - Minor
      StatusNone=>Fixed
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1