Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#103 change word and accented chars

Moderate
closed-fixed
Editing (61)
6
2010-02-02
2009-09-23
bamade
No

command "cw" stops at first accented char instead of changing whole word

Discussion

  • Ernie Rael

    Ernie Rael - 2009-09-23
    • priority: 5 --> 6
    • assigned_to: nobody --> err
     
  • Ernie Rael

    Ernie Rael - 2009-12-03
    • status: open --> open-fixed
     
  • Ernie Rael

    Ernie Rael - 2009-12-03

    Here's a patch against the jVi 1.2.6 source. In next release (not scheduled)

    Index: jvi/src/com/raelity/jvi/Misc.java
    --- jvi/src/com/raelity/jvi/Misc.java Base (1.95)
    +++ jvi/src/com/raelity/jvi/Misc.java Locally Modified (Based On 1.95)
    @@ -4213,13 +4213,19 @@
    * </p>
    */
    static boolean vim_iswordc(char c) {
    - return
    + boolean isWord;
    + if(c < 0x80) {
    + isWord =
    'a' <= c && c <= 'z'
    || 'A' <= c && c <= 'Z'
    || '0' <= c && c <= '9'
    || '_' == c
    ;
    + } else {
    + isWord = Character.isLetterOrDigit(c);
    }
    + return isWord;
    + }

    /**
    * Catch 22: chartab[] can't be initialized before the options are

     
  • Ernie Rael

    Ernie Rael - 2009-12-03

    Attaching a patch, since the inline gets squeezed by forum.

     
  • Ernie Rael

    Ernie Rael - 2009-12-03

    bug fix

     
  • Ernie Rael

    Ernie Rael - 2010-02-02

    available in 1.2.7 release

     
  • Ernie Rael

    Ernie Rael - 2010-02-02
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.