GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixed EDT placement. · D-I-R-M/processing4@eb03bca

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • app/src/processing/app/ui
    • Editor.java
  • java/src/processing/mode/java/lsp
    • PdeAdapter.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎app/src/processing/app/ui/Editor.java‎

Copy file name to clipboardExpand all lines: app/src/processing/app/ui/Editor.java
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,11 +1030,9 @@ static public void showChanges() {
10301030

10311031
static public int getProblemEditorLineStop(Problem problem, int lineStart, int lineStop) {
10321032
int stopOffset = problem.getStopOffset();
1033-
System.out.println("> " + lineStart + " " + lineStop + " " + stopOffset);
10341033
if (stopOffset == -1) {
10351034
stopOffset = lineStop - lineStart;
10361035
}
1037-
System.out.println("< " + lineStart + " " + lineStop + " " + stopOffset);
10381036
return stopOffset;
10391037
}
10401038

Collapse file

‎java/src/processing/mode/java/lsp/PdeAdapter.java‎

Copy file name to clipboardExpand all lines: java/src/processing/mode/java/lsp/PdeAdapter.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ static Offset toLineCol(String s, int offset) {
112112

113113
static Offset toLineEndCol(String s, int offset) {
114114
Offset before = toLineCol(s, offset);
115-
int remaining = s.substring(offset).indexOf('\n');
116-
return new Offset(before.line, before.col + remaining);
115+
return new Offset(before.line, Integer.MAX_VALUE);
117116
}
118117

119118

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.