Jump to content

Recommended Posts

Posted (edited)

I've noticed when loading scripts I wrote using the lite version of SciTE into the full editor, that their tab entries are only 3 spaces wide, whereas the full editor's are 4. Was it set up this way intentionally?

Edited by Xichael
  • Moderators
Posted (edited)

Xichael,

Just add these lines to your "user options":

tabsize=#
indent.size=#

where "#" is the tab size you require, and you can set it to whatever value you wish.

M23

Edit: Or of course, use SciTEConfig to change it directly.

Edited by Melba23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

It's fine. I've switched to the full editor and "Tidied" all my scripts.

I just wanted to bring it to the developer's attention in case the discrepancy wasn't intentional.

Posted

Just that 3 spaces is the default for one, and 4 for the other. Might as well set them up the same out of the box so there's no inconsistency if moving from one to the other.

Posted

Really? That's odd. I think I have the latest SciTE-Lite version (3.5.4) and I haven't changed the settings, but tab is doing 3 spaces. I'll see if reinstalling fixes it.

Posted

...Nope. I uninstalled, wiped all traces of SciTE (including the full editor and any files in %UserProfile% and %LocalAppData%), reinstalled, opened a script and the indentation guides are all at 3 spaces.

Again, I don't mind as I use the full editor exclusively now, but I just thought I'd bring it to your attention.

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
×
×
  • Create New...