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 — Hold on fix for #752. · D-I-R-M/processing4@d366df9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • app/src/processing/app/syntax
    • PdeTextAreaPainter.java
  • java/src/processing/mode/java
    • ProblemFactory.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎app/src/processing/app/syntax/PdeTextAreaPainter.java‎

Copy file name to clipboardExpand all lines: app/src/processing/app/syntax/PdeTextAreaPainter.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ static private void paintSquiggle(Graphics g, int y, int x1, int x2) {
326326
public String getToolTipText(MouseEvent event) {
327327
fontMetrics = getFontMetrics();
328328
int line = event.getY() / fontMetrics.getHeight() + textArea.getFirstLine();
329-
if (line >= 0 || line < textArea.getLineCount()) {
329+
if (line >= 0 || line < textArea.getLineCount()) {getPreprocessIssues
330330
List<Problem> problems = getEditor().findProblems(line);
331331
for (Problem problem : problems) {
332332
int lineStart = textArea.getLineStartOffset(line);
@@ -338,6 +338,8 @@ public String getToolTipText(MouseEvent event) {
338338
int startOffset = Math.max(errorStart, lineStart) - lineStart;
339339
int stopOffset = Math.min(errorEnd, lineEnd) - lineStart;
340340

341+
System.out.println(lineStart + "\t" + lineEnd + "\t" + errorStart + "\t" + errorEnd + "\t" + startOffset + "\t" + stopOffset);
342+
341343
int x = event.getX();
342344

343345
if (x >= textArea.offsetToX(line, startOffset) &&
Collapse file

‎java/src/processing/mode/java/ProblemFactory.java‎

Copy file name to clipboardExpand all lines: java/src/processing/mode/java/ProblemFactory.java
+3-5Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ public static Problem build(PdePreprocessIssue pdePreprocessIssue, List<Integer>
5252
tab,
5353
localLine,
5454
message,
55-
lineStart,
56-
lineStop,
57-
false
55+
0,
56+
lineStop - lineStart
5857
);
5958
}
6059

@@ -85,8 +84,7 @@ public static Problem build(PdePreprocessIssue pdePreprocessIssue, List<Integer>
8584
localLine,
8685
message,
8786
0,
88-
col,
89-
true
87+
col
9088
);
9189
}
9290

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.