From: Joachim K. <jk...@us...> - 2017-07-02 18:19:41
|
--- ** [tickets:#135] Right-arrow won't go past a dead accent** **Status:** open **Created:** Sun Jul 02, 2017 06:19 PM UTC by Joachim Kock **Last Updated:** Sun Jul 02, 2017 06:19 PM UTC **Owner:** nobody Paste the following into Alpha: th ́eorie Now position the insertion point at the beginning and try to navigate right with the arrow key. It won't go past the accented space. (Left arrow key works alright, and accented letters in general do not pose any problem.) The problem seems to have to do with some weird composite utf-8... (The kind of accented space arises often as a result of copying from pdf.) --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Bernard D. <bde...@us...> - 2017-09-08 10:16:59
|
I can reproduce this. This is caused by the combining accent. Currently Alpha fails to determine the correct bounds of cluster graphems in its *goto* command. See interesting explanations [here](https://oleb.net/blog/2014/07/swift-strings/) and in [Characters and Grapheme Clusters](https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Strings/Articles/stringsClusters.html). The solution is to use the *NSString*’s `rangeOfComposedCharacterSequencesForRange:` or `rangeOfComposedCharacterSequenceAtIndex:` methods. I'll (try to) fix this. --- ** [tickets:#135] Right-arrow won't go past a dead accent** **Status:** open **Created:** Sun Jul 02, 2017 06:19 PM UTC by Joachim Kock **Last Updated:** Sun Jul 02, 2017 06:19 PM UTC **Owner:** nobody Paste the following into Alpha: th ́eorie Now position the insertion point at the beginning and try to navigate right with the arrow key. It won't go past the accented space. (Left arrow key works alright, and accented letters in general do not pose any problem.) The problem seems to have to do with some weird composite utf-8... (The kind of accented space arises often as a result of copying from pdf.) --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Bernard D. <bde...@us...> - 2017-09-12 09:43:12
|
This is fixed now. There is a new command `text composed` to determine the span of a base character followed by combining marks. Changes committed to the repository ([rev. 1346](http://sourceforge.net/p/alphacocoa/code/1346/)). The core must be rebuilt. --- ** [tickets:#135] Right-arrow won't go past a dead accent** **Status:** open **Created:** Sun Jul 02, 2017 06:19 PM UTC by Joachim Kock **Last Updated:** Fri Sep 08, 2017 10:16 AM UTC **Owner:** nobody Paste the following into Alpha: th ́eorie Now position the insertion point at the beginning and try to navigate right with the arrow key. It won't go past the accented space. (Left arrow key works alright, and accented letters in general do not pose any problem.) The problem seems to have to do with some weird composite utf-8... (The kind of accented space arises often as a result of copying from pdf.) --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Bernard D. <bde...@us...> - 2017-09-12 10:34:09
|
- **status**: open --> fixed - **Version**: 9.0b3 --> 9.0b4 --- ** [tickets:#135] Right-arrow won't go past a dead accent** **Status:** fixed **Created:** Sun Jul 02, 2017 06:19 PM UTC by Joachim Kock **Last Updated:** Tue Sep 12, 2017 09:43 AM UTC **Owner:** nobody Paste the following into Alpha: th ́eorie Now position the insertion point at the beginning and try to navigate right with the arrow key. It won't go past the accented space. (Left arrow key works alright, and accented letters in general do not pose any problem.) The problem seems to have to do with some weird composite utf-8... (The kind of accented space arises often as a result of copying from pdf.) --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Bernard D. <bde...@us...> - 2017-12-07 18:56:56
|
- **status**: fixed --> closed --- ** [tickets:#135] Right-arrow won't go past a dead accent** **Status:** closed **Created:** Sun Jul 02, 2017 06:19 PM UTC by Joachim Kock **Last Updated:** Tue Sep 12, 2017 10:34 AM UTC **Owner:** nobody Paste the following into Alpha: th ́eorie Now position the insertion point at the beginning and try to navigate right with the arrow key. It won't go past the accented space. (Left arrow key works alright, and accented letters in general do not pose any problem.) The problem seems to have to do with some weird composite utf-8... (The kind of accented space arises often as a result of copying from pdf.) --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |