Skip to content

Commit 461bc60

Browse files
committed
Fix issue #5
- Object operator is not inserted when field is used - Add condition for PHPTokenId
1 parent 2188e0d commit 461bc60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/junichi11/netbeans/php/enhancements/editor/typinghooks/PhpTypedTextInterceptorEx.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private void handleChar(MutableContext context, char ch, TokenSequence<PHPTokenI
104104
}
105105
PHPTokenId id = token.id();
106106

107-
if (id != PHPTokenId.PHP_VARIABLE) {
107+
if (id != PHPTokenId.PHP_VARIABLE && id != PHPTokenId.PHP_STRING) {
108108
return;
109109
}
110110

0 commit comments

Comments
 (0)