Jump to content

Recommended Posts

Posted
  On 6/7/2014 at 4:48 PM, Jos said:

SciTE v 3.4.3 Beta version is now available in the Beta-Directory.

Please test the highlight.current.word* functionality to ensure all modification made in our version still work correctly.

Jos

thanks

Checked, looking good.

btw.

in SciTE Config for AutoIt3 ver:1.6.11

"CallTip displayed above function" do not works correctly.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Developers
Posted (edited)

  On 6/7/2014 at 5:12 PM, mLipok said:
btw.

in SciTE Config for AutoIt3 ver:1.6.11

"CallTip displayed above function" do not works correctly.

This one requires a restart of SciTE.

There is an option to "tell" SciTE that this is changed without a restart, so will implement that for this option.

EDIT: Let me know when you find others that do not update by a reload properties and require a SciTE restart at this moment.

Jos

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

Posted

  On 6/7/2014 at 5:15 PM, Jos said:

This one requires a restart of SciTE.

not working even if I restart SciTE

 

  On 6/7/2014 at 5:15 PM, Jos said:

Let me know when you find others that do not update by a reload properties and require a SciTE restart at this moment.

Ok.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Moderators
Posted

Jos,

Looks good so far. :thumbsup:

The highlight.current.word* change will cause a few raised eyebrows for those who use spaces between parameters in their code - basically anyone who uses Tidy. As the SciTE changelog shows no bug number attached to this, do you happen to know why it was changed? :huh:

M23

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:

  Reveal hidden contents

 

  • Developers
Posted

  On 6/7/2014 at 6:36 PM, Melba23 said:

Jos,

Looks good so far. :thumbsup:

The highlight.current.word* change will cause a few raised eyebrows for those who use spaces between parameters in their code - basically anyone who uses Tidy. As the SciTE changelog shows no bug number attached to this, do you happen to know why it was changed? :huh:

M23

this is a change in the standard SciTE. I think it is listed on the change log.

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

Posted (edited)
  On 6/7/2014 at 7:16 PM, Jos said:

I think it is listed on the change log.

 

You mean this:

  Quote
SciTE's highlight current word feature no longer matches the selection when it contains space.

 

 

?

Edit: typo

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

New beta looks good to me so far. BTW, I noticed two phase draw (two.phase.draw) and  Direct2D / DirectWrite (technology) are disabled or missing in the current global options file. Particular reason for that? I enabled them and they seems to work fine.

  • Developers
Posted
  On 6/7/2014 at 7:39 PM, mLipok said:

You mean this:

?

Correct

 

  On 6/7/2014 at 8:35 PM, wraithdu said:

New beta looks good to me so far. BTW, I noticed two phase draw (two.phase.draw) and  Direct2D / DirectWrite (technology) are disabled or missing in the current global options file. Particular reason for that? I enabled them and they seems to work fine.

I haven't tried for a while to sync up the latest SciTEGlobal.properties with the current supplied version.

Maybe I should start supplying the standard one without wanting to change that.

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

  • Developers
Posted
  On 6/7/2014 at 6:36 PM, Melba23 said:

The highlight.current.word* change will cause a few raised eyebrows for those who use spaces between parameters in their code - basically anyone who uses Tidy. As the SciTE changelog shows no bug number attached to this, do you happen to know why it was changed? :huh:

 

  On 6/7/2014 at 11:57 PM, jaberwacky said:

Oh wow, they went backwards as far as I'm concerned.

 

The original SciTE is really copying the behaviour of Visual Studio and be default auto select the current word.

I believe the reason was to stop the current word highlight at a space to avoid SciTE slowing down on long selections.

It is probably very easy to add yet another option to highlight.current.word.* to make this selectable if this is really a desired function.

One thing I like to avoid though is making more an more modifications in our version that will make it harder to maintain. This time around I had some difficulties making my modifications to work again as the code was changed a lot around this option.

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

Posted

How to fix this issue of variables "comment.box.start.au3", "comment.box.middle.au3", and "comment.box.end.au3", not being declared when trying to insert a block comment?

Also get a GPF in Scite when attempting to insert a Stream Comment under some circumstances. Not sure if this is helpful, but here's the info show:

 

post-29736-0-00047700-1402233513_thumb.j

  • Developers
Posted

  On 6/8/2014 at 1:18 PM, Danp2 said:

How to fix this issue of variables "comment.box.start.au3", "comment.box.middle.au3", and "comment.box.end.au3", not being declared when trying to insert a block comment?

SciTE seems to insist on a value for "comment.box.middle.au3="

Try adding something like ";~" for it and you see it works, but I don't particularly like that option in that way.

  On 6/8/2014 at 1:18 PM, Danp2 said:

Also get a GPF in Scite when attempting to insert a Stream Comment under some circumstances. Not sure if this is helpful, but here's the info show:

Any way I can replicate the Error so I can have a look at it?

Thanks

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

  • Developers
Posted (edited)
  On 6/8/2014 at 12:15 PM, jaberwacky said:

Very reasonable.  If the SciTE developer(s) thought it should go away then I guess it's probably for the best.  Though, I guess I can entertain the thought of seeing if I can work out a lua solution.

 

I have added a keyword to allow you to override the default behaviour of stopping at a Space character:

highlight.current.word=1
highlight.current.word.by.style=1
highlight.current.word.colour=#00D040
highlight.current.word.autoselectword=0    # Only available in SciTE4AutoIt3 version
highlight.current.word.wholeword=0         # Only available in SciTE4AutoIt3 version
highlight.current.word.matchcase=0         # Only available in SciTE4AutoIt3 version
highlight.current.word.minlength=3         # Only available in SciTE4AutoIt3 version
highlight.current.word.stoponspace=1       # Only available in SciTE4AutoIt3 version

This is implemented in the current Beta version available, so have a spin and see if that works correctly.

Also added an updated SciTEGlobal.properties which has this one added and also some of the missing parameters mentioned:

  On 6/7/2014 at 8:35 PM, wraithdu said:

New beta looks good to me so far. BTW, I noticed two phase draw (two.phase.draw) and  Direct2D / DirectWrite (technology) are disabled or missing in the current global options file. Particular reason for that? I enabled them and they seems to work fine.

 

The two.phase.draw parameter is already in there with the same default as the original distribution and am not sure it can be safely changed? Thought there were some issue with these 2 in the beginning but haven't really followed that discussion..

#two.phase.draw=0
if PLAT_WIN
    technology=1

Let me know when there are things missing or some of the defaults in there should be changed.

Jos

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

Posted
  On 6/8/2014 at 2:04 PM, Jos said:

Any way I can replicate the Error so I can have a look at it?

 

Not consistently. Here are the steps that I am performing:

1) Launch Scite, which opens with the previously editted script already loaded

2) Type a random word, such as "test"

3) Press Ctrl-Shift-Q to perform a Stream comment

  • Moderators
Posted

Jos,

The highlight.current.word.stoponspace change works nicely - thanks. :)

M23

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:

  Reveal hidden contents

 

  • Developers
Posted (edited)

I can replicate the bug and found it is a generic one that exists in the original SciTE.

It happen when the Caret is at the last character of the file and you hit Ctrl+Shift+Q, because it is trying to write the text to insert at the Caret position +1.

It sometimes does a hardcrash and sometimes just doesn't write the #ce.

Jos

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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...