projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56700c
)
Fix move-forward-word by also considering symbols as punctuations (before we could...
author
Miguel de Icaza
<miguel@gnome.org>
Thu, 22 Dec 2011 19:46:56 +0000
(14:46 -0500)
committer
Miguel de Icaza
<miguel@gnome.org>
Thu, 22 Dec 2011 19:47:13 +0000
(14:47 -0500)
mcs/tools/csharp/getline.cs
patch
|
blob
|
history
diff --git
a/mcs/tools/csharp/getline.cs
b/mcs/tools/csharp/getline.cs
index f259f7357ed7ec5f1a3c00399ab0643ec384ed58..dee070c03f499dfc368aacdb7dbdf97c2d29cb8a 100644
(file)
--- a/
mcs/tools/csharp/getline.cs
+++ b/
mcs/tools/csharp/getline.cs
@@
-506,7
+506,7
@@
namespace Mono.Terminal {
return -1;
int i = p;
- if (Char.IsPunctuation (text [p]) || Char.IsWhiteSpace (text[p])){
+ if (Char.IsPunctuation (text [p]) || Char.Is
Symbol (text [p]) || Char.Is
WhiteSpace (text[p])){
for (; i < text.Length; i++){
if (Char.IsLetterOrDigit (text [i]))
break;