Jump to content

Folds in Scite - switch statements, etc.


Recommended Posts

One of the many things I like about Scite is the folds, where functions, If statements, For statements, etc. can be "folded" to condense the size of the script in the window by hiding it under the fold. However, something's odd about the Switch statements - they don't seem to want to fold from Switch to EndSwitch as an If/EndIf or For/Next statement would. I'm not sure if it's because Case is already used with the Select statement and Scite is not catching it, or if it's something else. This is for beta 3.1.1.87, so I'm not sure if it's been fixed in recent versions, but if it hasn't, it should be looked at.

Also, the EndSwitch statement doesn't automatically align itself with the Switch statement, though EndSelect does with Select.

Thought someone should know!

Link to post
Share on other sites
  • Developers

The issue pointed out here has to do with the SciLExer.dll not the Au3.properties settings.

Are you sure you are running the latest version of SciTE (Scilexer.dll) as posted on the SciTE4AutoIt3 downloadpage? Support for Switch was added a while ago...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...