Jump to content
Sign in to follow this  
Jos

Scite 1.60 Update

Recommended Posts

This should do it:

if PLAT_WIN

    position.left=

    position.top=

if PLAT_GTK

    position.left=50

    position.top=50

position.width=

position.height=

Share this post


Link to post
Share on other sites

The help file says:

position.left

position.top

position.width

position.height 

Set the initial window size and position. If these are omitted then the environment's defaults are used. If the width or height are -1 then the window is maximised. 

I use these settings (In SciteUser.properties):

if PLAT_WIN

    position.left=50

    position.top=50

if PLAT_GTK

    position.left=50

    position.top=50

position.width=770

position.height=550

Share this post


Link to post
Share on other sites

Well, I never imbed tabs, I use @Tab, so it wasn't something I considered.  This was really meant to be just a quick conversion and not something permanent or anything.

.. but the converstion from spaces to tab characters would mess things up.

p.s. Here's another way of doing a replace all TABS to Spaces:

editor:SetText(string.gsub(editor:GetText(), "\t", string.rep(" ", editor.TabWidth))

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.
  :)

Share this post


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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...