Skip to content

Commit 35d2326

Browse files
committed
Preparing for 3.1.3 release
1 parent 738dcb3 commit 35d2326

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@ archivesBaseName = 'languagesupport'
1616
ext.isReleaseVersion = !project.version.endsWith('SNAPSHOT')
1717

1818
dependencies {
19-
api 'com.fifesoft:rsyntaxtextarea:3.1.3'
20-
api 'com.fifesoft:autocomplete:3.1.2'
19+
api('com.fifesoft:rsyntaxtextarea:3.1.4') { changing = true }
20+
api 'com.fifesoft:autocomplete:3.1.3'
2121
implementation 'org.mozilla:rhino:1.7.6'
2222
testImplementation 'junit:junit:4.13.2'
2323
}
2424

2525
wrapper {
26-
gradleVersion = '7.0.2'
26+
gradleVersion = '7.3.1'
2727
}
2828

2929
repositories {
30+
mavenLocal()
3031
mavenCentral()
3132
maven {
3233
url 'https://oss.sonatype.org/content/repositories/snapshots'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Note that Maven- and signing-related properties are in <maven-home>/gradle.properties
22
javaVersion=1.8
3-
version=3.1.3-SNAPSHOT
3+
version=3.1.3
44

55
# Ugh, see https://github.com/gradle/gradle/issues/11308
66
systemProp.org.gradle.internal.publish.checksums.insecure=true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/java/org/fife/rsta/ac/demo/DemoRootPane.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ RSyntaxTextArea getTextArea() {
208208
*/
209209
@Override
210210
public void hyperlinkUpdate(HyperlinkEvent e) {
211+
System.out.println("Hyperlink event: " + e.getEventType());
211212
if (e.getEventType()==HyperlinkEvent.EventType.ACTIVATED) {
212213
URL url = e.getURL();
213214
if (url==null) {

src/main/java/org/fife/rsta/ac/php/PhpCompletionProvider.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ public class PhpCompletionProvider extends HtmlCompletionProvider {
6060
*/
6161
private List<Completion> phpCompletions;
6262

63+
// TODO: Make PHPTokenMaker.INTERNAL_IN_PHP public! Or come up with a better way to do this
64+
private static final int EVERYTHING_HERE_AND_BELOW_IS_PHP = -(4<<11);//PHPTokenMaker.INTERNAL_IN_PHP;
6365

6466
public PhpCompletionProvider() {
6567

@@ -227,11 +229,11 @@ else if (ch1=='?' && ch2=='>') {
227229
}
228230

229231
// Check if previous line ended in a PHP block.
230-
// HACK: This relies on insider knowledge of PhpTokenmaker! All
232+
// HACK: This relies on insider knowledge of PhpTokenMaker! All
231233
// PHP-related states have the "lowest" token types.
232234
if (!inPhp && line>0) {
233235
int prevLineEndType = doc.getLastTokenTypeOnLine(line-1);
234-
if (prevLineEndType<=PHPTokenMaker.INTERNAL_IN_PHP) {
236+
if (prevLineEndType <= EVERYTHING_HERE_AND_BELOW_IS_PHP) {
235237
inPhp = true;
236238
}
237239
}

0 commit comments

Comments
 (0)