Jump to content

SCITE EDITOR OPEN NEW TABS OR NEW WINDOW


Go to solution Solved by TheXman,

Recommended Posts

Hi! Can someone help me with this? I upgraded from SciTe Edit Lite to full version. Now every time I edit a script it opens on a new SciTe tab, but I want it opens on a new window like before the upgrade. Can someone help me with that? Thanks!!

Link to comment
Share on other sites

  • Solution

In the SciTE main menu:

  1. Click on "Options - > Open User Options File"
  2. In the newly opened SciTEUser.properties file, add (or modify) the following line BELOW the "DO NOT CHANGE" section:
    • check.if.already.open=0
  3.  Save your change.

When you open new .au3 files, from outside the editor, they should now open in a new window.

Link to comment
Share on other sites

2 hours ago, TheXman said:

In the SciTE main menu:

  1. Click on "Options - > Open User Options File"
  2. In the newly opened SciTEUser.properties file, add (or modify) the following line BELOW the "DO NOT CHANGE" section:
    • check.if.already.open=0
  3.  Save your change.

When you open new .au3 files, from outside the editor, they should now open in a new window.

What is the "DO NOT CHANGE" section?

I've tried adding check.if.already.open=0 at the end but it didn't work. Here is mi SciTEUser.properties:

 

font.base=font:Verdana,size:10,$(font.override)
font.monospace=font:Courier New,size:10
style.*.32=fore:#D0D0D0,back:#202020,$(font.base)
style.au3.32=style.*.32=$(font.base),back:#202020
caret.line.back=#333333
caret.line.back.alpha=256
caret.fore=#FFFFFF
selection.fore=#C2FFAE
selection.alpha=50
selection.back=#f9f9f9
style.error.0=fore:#FF0000,back:#F0F0F0
style.error.1=fore:#FF0000,back:#FFFF00
style.error.2=fore:#FFFFFF,back:#FF0000
highlight.current.word.colour=#C2FFAE
highlight.current.word.by.style=0
highlight.current.word.minlength=2
style.au3.38=fore:#DADADA,back:#202020
calltips.color.highlight=#e7db74
style.*.33=fore:#DADADA,back:#202020,$(font.base)
fold.margin.colour=#202020
fold.margin.highlight.colour=#333333
fold.back=#333333
style.au3.37=fore:#202020
style.au3.34=fore:#C080C0,back:#202020
style.au3.35=fore:#60A060,italics,back:#202020
style.au3.0=fore:#80C0FF,back:#202020
style.au3.1=fore:#60A060,italics,back:#202020
style.au3.2=fore:#60A060,italics,back:#202020
style.au3.3=fore:#C0FFFF,back:#202020
style.au3.4=fore:#8080FF,back:#202020
style.au3.5=fore:#C080C0,back:#202020
style.au3.6=fore:#A0A000,back:#202020
style.au3.7=fore:#F0E090,back:#202020
style.au3.8=fore:#FF8000,back:#202020
style.au3.9=fore:#D0D0D0,back:#202020
style.au3.10=fore:#A0A0A0,back:#202020
style.au3.11=fore:#8996A8,back:#202020
style.au3.12=fore:#FFAAB7,back:#202020
style.au3.13=fore:#FF80C0,back:#202020
style.au3.14=fore:#993399,back:#202020
style.au3.15=fore:#0080FF,back:#202020
style.au3.16=fore:#0080FF,back:#202020
style.*.32=fore:#D0D0D0,back:#202020,$(font.base)
style.errorlist.0=fore:#F9F9F9
style.errorlist.3=fore:#FF0000
style.errorlist.4=fore:#32FFFF
style.errorlist.10=fore:#FF0000,bold
style.errorlist.11=fore:#EA9515,bold
style.errorlist.12=fore:#E6DB74,bold
style.errorlist.13=fore:#E87400
style.*.32=fore:#D0D0D0,back:#202020,$(font.base)
style.errorlist.32=$(font.base),back:#333333
backup.files=0
proper.case=0
error.inline=1
highlight.current.word=1
highlight.current.word.autoselectword=0
highlight.current.word.wholeword=0
highlight.current.word.matchcase=0
use.tabs=1
indent.size=4
indent.size.*.au3=4
tabsize=4
indicators.alpha=63
calltips.set.above=0
visible.policy.strict=1
visible.policy.lines=0
command.name.19.*=
command.19.beta=
command.name.33.*=
command.33.beta=
openpath.$(au3)=$(SciteDefaultHome)\..\include;C:\Program Files\AutoIt3
check.if.alredy.open=0

Link to comment
Share on other sites

  • Developers

This is the property you need to add to SciTE when you do not want to restore the previous session's files:

#restore last session when selecting Open file from Explorer -  Only available in SciTE4AutoIt3 version
save.session.advanced=0

The check.if.alredy.open=0 will run multiple SciTE instances, one per file.

That last section is maintained by SciTECOnfig.au3, so hence that statement, but you can make changes when leaving the format intact.

Jos

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 comment
Share on other sites

8 minutes ago, Jos said:

This is the property you need to add to SciTE when you do not want to restore the previous session's files:

#restore last session when selecting Open file from Explorer -  Only available in SciTE4AutoIt3 version
save.session.advanced=0

The check.if.alredy.open=0 will run multiple SciTE instances, one per file.

That last section is maintained by SciTECOnfig.au3, so hence that statement, but you can make changes when leaving the format intact.

Jos

Just added save.session.advanced=0 to the SciTEUser.properties but nothing happens. Am I the only one who wants the files open in a new window? Because I didn't find any discussion about that or may be I am not doing the correct research 😏

Link to comment
Share on other sites

8 hours ago, edubensa said:

I will try to reinstall both autoit and scite and see if the default set open windows instead of tabs.

Now it works!!!

I've reinstalled Autoit, SciTe Editor and deleted the old files, but it opens the files on new tabs again. But now my SciTEUser.properties file is clean.

I added the line check.if.already.open=0 to the SciTEUser.properties and it works!!

Thanks everybody!!

Edited by edubensa
Link to comment
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
 Share

×
×
  • Create New...