XusinboyBekchanov / VisualFBEditor

IDE for FreeBasic
Other
176 stars 39 forks source link

Feature Reques format and syntax higlighting #37

Closed rexxitall closed 3 years ago

rexxitall commented 4 years ago

Operators, mathematical functions, numbers bracets needs own colors. things like + - * / ( ) should have additional space chars. On the Picture you just see a red mud of math: image

Even in VBA which is not that perfect it looks better:

image

On large math routines it simply makes some sense to have different colors for those different elements. Its als a big help if you can recognize if something is a real number or integer number. On your 4 Keyword files i would add Number 5 for things like SIN COS SQR TAN :)

rexxitall commented 4 years ago

I have a routine which dos all that tricks ane even more. Just would need to know ho to hack her in as well as set the colors, and fontstyles. BTW Font styles does not work in VFBE. I use a brute force attack powered by dictionarys to figure aout what is Freebasic and what is user defined. Its really fast. by the few lines whats shown to the user you could even do this in real time :)

XusinboyBekchanov commented 3 years ago

This added: https://github.com/XusinboyBekchanov/VisualFBEditor/commit/f200fe0ab439ca8ea90a1895125d489af2093ab2 https://github.com/XusinboyBekchanov/VisualFBEditor/commit/f1fe4cb598e02459220744482856109932aa1f2a

rexxitall commented 3 years ago

Thanks - :) I guess now ive to update the color files :D

XusinboyBekchanov commented 3 years ago

Not worth it.