Opened 4 years ago

Closed 3 years ago

#911 closed enhancement (fixed)

Syntax check results should be shown by underlining

Reported by: zenogantner Owned by:
Priority: minor Milestone:
Component: Syntax Checking Version: trunk
Keywords: usability syntax bottom Cc:

Description

Instead of having its own tab in the bottom pane, syntax errors should be reported by underlining, with further explanations (the type of error) in tooltips.

This will spare us one tab in the bottom pane, making it (depending on the circumstances) possibly unnecessary, and thereby freeing vertical screen space that can be used to a larger part of the files that are in the editor.

For illustration, I have attached an example of how this looks like in MonoDevelop?.

Attachments (2)

md_syntax_underline.png (22.9 KB) - added by zenogantner 4 years ago.
Screenshot-Padre SVN @r15987 ($VERSION = 0.91).png (131.6 KB) - added by submersible_toaster 3 years ago.
Annotations working well - background colours not so well

Download all attachments as: .zip

Change History (9)

Changed 4 years ago by zenogantner

comment:1 Changed 4 years ago by zenogantner

  • Keywords bottom added; bottompane removed

comment:2 Changed 4 years ago by szabgab

  • Component changed from editor to Syntax Checking

comment:3 Changed 3 years ago by azawawi

r15402 shows the underline red squiggle indicator for the syntax error

comment:4 Changed 3 years ago by azawawi

How about something like this http://www.scintilla.org/annotations.png ? :)

comment:5 Changed 3 years ago by zenogantner

Such annotations would be awesome - although I am not sure everybody would like them.

MonoDevelop? has something similar - you can see errors inline, but there is still a complete error list available if necessary.

Changed 3 years ago by submersible_toaster

Annotations working well - background colours not so well

comment:6 Changed 3 years ago by azawawi

I have added PADRE_WARNING and PADRE_ERROR to all of the styles. Please update it with correct values :)

comment:7 Changed 3 years ago by azawawi

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r16083

Note: See TracTickets for help on using tickets.