Skip to content

Commit 2df2d14

Browse files
committed
• all single line comments, bullet points (plain text), and quoted lines (mail) now optionally match the newline character — this is so that when the caret is at the end of the line, the scope is still that of “the line.” This is so key equivalents bound to a given scope (like the ‘enter’ key) also work when typing at the end of the line, which would be expected.
git-svn-id: http://svn.textmate.org/trunk/Bundles/PHP.tmbundle@2977 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
1 parent d7cdfdb commit 2df2d14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Syntaxes/PHP.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,13 @@
156156
</dict>
157157
<dict>
158158
<key>match</key>
159-
<string>//.*$</string>
159+
<string>//.*$\n?</string>
160160
<key>name</key>
161161
<string>comment.line.double-slash.php</string>
162162
</dict>
163163
<dict>
164164
<key>match</key>
165-
<string>#.*$</string>
165+
<string>#.*$\n?</string>
166166
<key>name</key>
167167
<string>comment.line.number-sign.php</string>
168168
</dict>

0 commit comments

Comments
 (0)