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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitter:  David Lawrence Ramsey <dolorous>
Submitted:  Wed 15 Feb 2017 04:53:45 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

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

It works.  Thanks!

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

Fixed in git, d60e7d37.

Please verify.

Benno Schulenberg <bens>
Group administrator
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>
Group Member

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by dolorous (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-02-24 bens Open/ClosedOpen Closed
        SummarySpell-checking marked text on a single line misplaces the cursor spell-checking marked text on a single line misplaces the cursor
    2017-02-16 bens Severity3 - Normal 2 - Minor
        StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code