Menu

#117 capitalizeWord does not place cursor correctly

9.0b1
closed
nobody
None
Bug
Core
major
2017-04-04
2017-04-04
No

The procs capitalizeWord, upcaseWord and downcaseWord do not position the cursor correctly after the operation. The correct position is at the end of the word acted on. This works correctly when the cursor position before the operation is immediately at the beginning of the word, but does not work if
there is a space between the cursor and the beginning of the word. In that case the new cursor position is just the same as the old.

(By cursor I mean insertion point.)

Discussion

  • Bernard Desgraupes

    Isn't it a duplicate of Ticket #115: 115 downcaseWord does not leave the cursor at the end of the word which I have fixed a few days ago ?

     
    • Joachim Kock

      Joachim Kock - 2017-04-04

      On 04/04/2017 11:27, Bernard Desgraupes wrote:

      Isn't it a duplicate of Ticket #115: 115 downcaseWord does not leave the
      cursor at the end of the word
      http://sourceforge.net/p/alphacocoa/tickets/115/ which I have fixed a
      few days ago ?

      Indeed. Sorry about that.
      I should update...

      Cheers,
      Joachim.

       
  • Joachim Kock

    Joachim Kock - 2017-04-04
    • status: open --> closed
     
  • Joachim Kock

    Joachim Kock - 2017-04-04

    Duplicate of Ticket #115.

     

Log in to post a comment.