We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef0d90 commit af61254Copy full SHA for af61254
csharp-mode.el
@@ -1157,7 +1157,9 @@ Currently handled:
1157
(goto-char beg)
1158
(while (re-search-forward "^\\s-*#\\(region\\|pragma\\) " end t)
1159
(when (looking-at "\\w")
1160
- (put-text-property (point) (1+ (point))
+ ;; mark the space separating the directive from the comment
1161
+ ;; text as comment starter to allow correct word movement
1162
+ (put-text-property (1- (point)) (point)
1163
'syntax-table (string-to-syntax "< b"))))))
1164
1165
;; C# does generics. Setting this to t tells the parser to put
0 commit comments