diff options
| author | Pierre-Marie Pédrot | 2019-10-14 15:44:55 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2019-10-14 15:44:55 +0200 |
| commit | 2169cf83775a57f48fe1b55796b5bc026a11aea6 (patch) | |
| tree | d1a234a1b66578b3ac591caae70ba7987df65027 /ide | |
| parent | 81216e8947fb4906f5a2b109cbed3e2584383c57 (diff) | |
| parent | 63a2894dfbcf0362e67c971ab233487f5e0f6227 (diff) | |
Merge PR #10852: Fix #10842: incorrect handling of unicode input before space
Reviewed-by: Zimmi48
Reviewed-by: ppedrot
Diffstat (limited to 'ide')
| -rw-r--r-- | ide/wg_ScriptView.ml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ide/wg_ScriptView.ml b/ide/wg_ScriptView.ml index 279815d671..181418d3d8 100644 --- a/ide/wg_ScriptView.ml +++ b/ide/wg_ScriptView.ml @@ -408,10 +408,8 @@ object (self) | _ -> () method apply_unicode_binding () = - (* Auxiliary method to reach the beginning of line or the - nearest space before the iterator. *) let rec get_line_start iter = - if iter#starts_line || Glib.Unichar.isspace iter#char then iter + if iter#starts_line then iter else get_line_start iter#backward_char in (* Main action *) |
