PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Error on line in ED+  (Read 752 times)

Sebastiaan Fisscher

  • Silver Member
  • ***
  • Posts: 23
    • View Profile
    • Astecom Business Software
Error on line in ED+
« on: August 10, 2018, 05:20:59 AM »
When you have a bad line of code in the ED+ it this with a red cross icon in front of the line.
The icon is a good indicator, but it would be even better to add a red background or red letters for the bad line of code, so it's even more visible.

Mike King

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3436
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: Error on line in ED+
« Reply #1 on: August 10, 2018, 09:06:07 AM »
The issue with changing the background is that we would have to define a special color for every theme since a red background might result in a line of text that would not be very readable due to different text colors.

If you do want the errors to stand out more give the Chaos theme a try. It highlights the line number column instead of just using the red cross.

BTW: The themes are fully editable.  Their definition is controlled by the theme-xxxxxx.js files found in *plus/inomads/add-ons/editors/ace/src-noconflict.  We provide the standard themes but if desired you can add your own custom one. 

Note: The ACE editor has changed the way these files are used in their latest release.  We are considering updating to the new version of ACE in the future however the basic layout will remain the same.


Sebastiaan Fisscher

  • Silver Member
  • ***
  • Posts: 23
    • View Profile
    • Astecom Business Software
Re: Error on line in ED+
« Reply #2 on: August 10, 2018, 09:39:18 AM »
I see that the Chaos template does indeed highlight the column, which makes it easier to spot errors. I think that (maybe a softer colour red) would complement pretty much every theme by default, as it wouldn't compromise the other colours in the themes.