Jump to content


 

SciTE v 3.04 Beta available

For people willing to test.

148 replies to this topic

#1 Jos

    Doing my thing my way

  • Developers (Dev)
  • 19,956 posts
  • Gender:Not Telling

Posted 14 January 2012 - 06:52 PM

*
POPULAR

I have merged Neils SciTE v 3.04 Source with our own repository and have made it available in a separate directory in the Beta site.
SciTE v 3.04
SciLexer.dll v3.04

History of changes

My Changes:
  • Support for "(" in filenames on error lines to fix the issue that double clicking these error lines wouldn't work.
  • Jump to Line and Column now when double clicking the error from au3Check.
  • Fold in Commentblocks fixes for the AU3 lexer.
  • Word Highlighting modifications:
    highlight.current.word=1
    highlight.current.word.by.style=1
    highlight.current.word.colour=#00D040
    #~ highlight.current.word.autoselectword=1
    #~ highlight.current.word.wholeword=1
    #~ highlight.current.word.matchcase=1
    #~ highlight.current.word.minlength=2
Appreciate when people can test and let me know if they see issues or if all is working fine.

Cheers,
Jos


Updated to 3.04 3/3/2012.

Edited by Jos, 03 March 2012 - 10:45 PM.

SciTE4AutoIt3 Homepage
Installation instructions for SciTE4AutoIt3 and AutoIt3:Production and Beta.
---------------------------
Live for the present,
Dream of the future,
Learn from the past.



#2 LaCastiglione

    Mass Spammer!

  • Full Members
  • PipPipPipPipPipPip
  • 1,648 posts
  • Gender:Not Telling
  • Location:from the æther

Posted 14 January 2012 - 08:38 PM

Do we just replace the current SciTE 2.X with this one? Nevermind, I imagine so.

First report. Blank lines have fold points.

Edited by LaCastiglione, 14 January 2012 - 08:39 PM.

☥☽☼☥☀☾☥⚜⚜☥☾☀☥☼☽☥
Every sha-la-la-la
Every wo-wo-wo
Still shines
Every shing-a-ling-a-ling
That they're starting to sing's
So fine

☥☽☼☥☀☾☥⚜⚜☥☾☀☥☼☽☥

#3 Jos

    Doing my thing my way

  • Developers (Dev)
  • 19,956 posts
  • Gender:Not Telling

Posted 14 January 2012 - 08:41 PM

Correct for both files.
SciTE4AutoIt3 Homepage
Installation instructions for SciTE4AutoIt3 and AutoIt3:Production and Beta.
---------------------------
Live for the present,
Dream of the future,
Learn from the past.

#4 JScript

    Every passing day I learn more with you all!

  • Full Members
  • PipPipPipPipPip
  • 630 posts
  • Gender:Male
  • Location:Brazil

Posted 14 January 2012 - 10:49 PM

I still haven't found problems, but your changes are amazing! Thank you very much!
Regards,

João Carlos.

In any language is high or low level at which a code is compiled and the author did not publish the source and not declared as open source, is strictly prohibited decompilation and publication! Otherwise, you will be violating the rules of programming, either AutoIt or any other language!

The world is made of rules, imagine if Nature broke the rules imposed by the Creator!



http://notebook.forumais.com (Forum Maintenance Notebooks and Desktop)
Posted Image
http://autoitbrasil.com/


#5 wraithdu

    I am less fun than a twisted ankle.

  • AutoIt MVPs (MVP)
  • 1,945 posts
  • Gender:Male

Posted 15 January 2012 - 01:01 AM

Jos, would you mind posting when you update SciTE.exe / SciLexer.dll in your beta directory so we can be sure we're testing your most updated build? My memory is pretty good, but modified date and time has limited retention :)

Edited by wraithdu, 15 January 2012 - 01:01 AM.


#6 Jos

    Doing my thing my way

  • Developers (Dev)
  • 19,956 posts
  • Gender:Not Telling

Posted 15 January 2012 - 10:38 AM

View Postwraithdu, on 15 January 2012 - 01:01 AM, said:

Jos, would you mind posting when you update SciTE.exe / SciLexer.dll in your beta directory so we can be sure we're testing your most updated build? My memory is pretty good, but modified date and time has limited retention :)
Sure. Somehow I managed to make the same mistake as the last time and missing the larger properties file support which is fixed in the current version available.
There was also a minor change in the Lexer changes I made to support folding in Commentblock which was fixed in both Beta versions of SciLexer.dll.

Jos :)
SciTE4AutoIt3 Homepage
Installation instructions for SciTE4AutoIt3 and AutoIt3:Production and Beta.
---------------------------
Live for the present,
Dream of the future,
Learn from the past.

#7 Melba23

    Yes, me!

  • Moderators (Mod)
  • 11,317 posts
  • Gender:Not Telling
  • Location:Where never lark or even eagle flew

Posted 15 January 2012 - 08:45 PM

Jos,

#include lines do not seem to be the correct colour with the new v3.02 SciTE.exe and SciLexer.dll:



They are correctly coloured in the v2.28 SciTE version.

From my "SciTEUser.properties" file:
[ code='text' ]    ( Popup )
#Special style.au3.12=fore:#A00FF0,italics,back:#E9FEE0
As you can see, all the other "special" codes like #region seem to take the correct colour.

M23

P.S. And no comments about the colour scheme - I like it! :D
StringSize - Automatically size controls to fit text. - ExtMsgBox - A user customisable replacement for MsgBox. - Toast - Small GUIs which pop out of the Systray.
Marquee - Scrolling tickertape GUIs. - Scrollbars - Automatically sized scrollbars with a single command. - GUIFrame - Subdivide GUIs into many adjustable frames.
GUIExtender - Extend and retract multiple sections within a GUI. - .NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes.
RecFileListToArray - An alternative to _FileListToArray with user-defined include/exclude masks, maximum recursion level, sorting and displayed path options
GUIListViewEx - Insert, delete, move, drag and sort ListView items. - ChooseFileFolder - Single and multiple selections from specified path tree structure.
Notify - Small notifications on the edge of the display

#8 Jos

    Doing my thing my way

  • Developers (Dev)
  • 19,956 posts
  • Gender:Not Telling

Posted 15 January 2012 - 08:48 PM

Have you download the latest version I uploaded around 10PM CT yesterday?
SciTE4AutoIt3 Homepage
Installation instructions for SciTE4AutoIt3 and AutoIt3:Production and Beta.
---------------------------
Live for the present,
Dream of the future,
Learn from the past.

#9 Melba23

    Yes, me!

  • Moderators (Mod)
  • 11,317 posts
  • Gender:Not Telling
  • Location:Where never lark or even eagle flew

Posted 15 January 2012 - 08:54 PM

Jos,

Obviously not! Sorry. :>

I downloaded as soon as you created the thread and only got around to testing them just now. Is there anything in particular we should look for with this new SciTE version?

M23
StringSize - Automatically size controls to fit text. - ExtMsgBox - A user customisable replacement for MsgBox. - Toast - Small GUIs which pop out of the Systray.
Marquee - Scrolling tickertape GUIs. - Scrollbars - Automatically sized scrollbars with a single command. - GUIFrame - Subdivide GUIs into many adjustable frames.
GUIExtender - Extend and retract multiple sections within a GUI. - .NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes.
RecFileListToArray - An alternative to _FileListToArray with user-defined include/exclude masks, maximum recursion level, sorting and displayed path options
GUIListViewEx - Insert, delete, move, drag and sort ListView items. - ChooseFileFolder - Single and multiple selections from specified path tree structure.
Notify - Small notifications on the edge of the display

#10 Jos

    Doing my thing my way

  • Developers (Dev)
  • 19,956 posts
  • Gender:Not Telling

Posted 15 January 2012 - 08:59 PM

The only thing I changed in this version of SciTE 3.02 was the patch i missed to support the bigger Properties files we need, hence the lack of the last keywords from au3.keywords.properties.
As to this new release of SciTE in general: All I have done is to merge our changes into it and haven't done any special testing, so curious to see if people find any nice new stuff in it that is worth mentioning and obviously if all is working for them.

Thanks
Jos :)
SciTE4AutoIt3 Homepage
Installation instructions for SciTE4AutoIt3 and AutoIt3:Production and Beta.
---------------------------
Live for the present,
Dream of the future,
Learn from the past.

#11 Valik

    Keelah se'lai

  • Developers (Dev)
  • 18,139 posts
  • Gender:Male
  • Location:Silent Hill

Posted 15 January 2012 - 11:17 PM

Jos, have a look at the following properties:
[ code='text' ]    ( Popup )
error.inline style.error.0 style.error.1 style.error.2 style.error.3
Might be some useful stuff there.
"She wears a dress like a body bag every day"

I have a blog where I rant. Imagine that.

#12 Valik

    Keelah se'lai

  • Developers (Dev)
  • 18,139 posts
  • Gender:Male
  • Location:Silent Hill

Posted 15 January 2012 - 11:30 PM

Here's what I came up with:
[ code='text' ]    ( Popup )
error.inline=1 style.error.1=fore:#FF0000,back:#FFFF00 style.error.2=fore:FFFFFF,back:#FF0000
However, there's a bug either with the error.inline feature or with Au3Check. It detects error messages just fine. It draws the line with a red background and white text. It does not detect warnings, though. It draws those in the style.error.0 style instead of style.error.1.

Note: To see this feature in action insert some errors into a script and then run Au3Check. After it is complete double-click on an error line in the output pane and you should see all the errors show up inline with the document as well.

Edit: Wow the feature needs work. My expected behavior is for the errors to show up after running Au3Check. I also expect re-running Au3Check to clear the errors. Doesn't happen. Instead it's possible to get stuck with an orphaned error in the document which won't go away even though the code has been fixed.

Edited by Valik, 15 January 2012 - 11:32 PM.

"She wears a dress like a body bag every day"

I have a blog where I rant. Imagine that.

#13 LaCastiglione

    Mass Spammer!

  • Full Members
  • PipPipPipPipPipPip
  • 1,648 posts
  • Gender:Not Telling
  • Location:from the æther

Posted 16 January 2012 - 04:54 PM

View PostLaCastiglione, on 14 January 2012 - 08:38 PM, said:

First report. Blank lines have fold points.

This only seems to occur when technology=1. I'm guessing you don't have control over this but I thought I'd mention it if someone else were to experience the same.
☥☽☼☥☀☾☥⚜⚜☥☾☀☥☼☽☥
Every sha-la-la-la
Every wo-wo-wo
Still shines
Every shing-a-ling-a-ling
That they're starting to sing's
So fine

☥☽☼☥☀☾☥⚜⚜☥☾☀☥☼☽☥

#14 Jos

    Doing my thing my way

  • Developers (Dev)
  • 19,956 posts
  • Gender:Not Telling

Posted 16 January 2012 - 06:31 PM

View PostLaCastiglione, on 16 January 2012 - 04:54 PM, said:

This only seems to occur when technology=1. I'm guessing you don't have control over this but I thought I'd mention it if someone else were to experience the same.
Could you give an example snippet to demo this as we do have a couple of situations we have done this deliberately.
SciTE4AutoIt3 Homepage
Installation instructions for SciTE4AutoIt3 and AutoIt3:Production and Beta.
---------------------------
Live for the present,
Dream of the future,
Learn from the past.

#15 Jos

    Doing my thing my way

  • Developers (Dev)
  • 19,956 posts
  • Gender:Not Telling

Posted 16 January 2012 - 06:32 PM

View PostValik, on 15 January 2012 - 11:30 PM, said:

Here's what I came up with:
[ code='text' ]    ( Popup )
error.inline=1 style.error.1=fore:#FF0000,back:#FFFF00 style.error.2=fore:FFFFFF,back:#FF0000
However, there's a bug either with the error.inline feature or with Au3Check. It detects error messages just fine. It draws the line with a red background and white text. It does not detect warnings, though. It draws those in the style.error.0 style instead of style.error.1.

Note: To see this feature in action insert some errors into a script and then run Au3Check. After it is complete double-click on an error line in the output pane and you should see all the errors show up inline with the document as well.

Edit: Wow the feature needs work. My expected behavior is for the errors to show up after running Au3Check. I also expect re-running Au3Check to clear the errors. Doesn't happen. Instead it's possible to get stuck with an orphaned error in the document which won't go away even though the code has been fixed.
Will have a look at all of this but will not have much time this week.....
SciTE4AutoIt3 Homepage
Installation instructions for SciTE4AutoIt3 and AutoIt3:Production and Beta.
---------------------------
Live for the present,
Dream of the future,
Learn from the past.

#16 Valik

    Keelah se'lai

  • Developers (Dev)
  • 18,139 posts
  • Gender:Male
  • Location:Silent Hill

Posted 16 January 2012 - 06:36 PM

I found a "solution" for the orphaned errors issue. Search -> Clear All Bookmarks removes them.
"She wears a dress like a body bag every day"

I have a blog where I rant. Imagine that.

#17 Valik

    Keelah se'lai

  • Developers (Dev)
  • 18,139 posts
  • Gender:Male
  • Location:Silent Hill

Posted 16 January 2012 - 07:19 PM

A few more comments after I've just spent some time reviewing SciTE's properties. First a discovery (maybe not new but new to me): The following will draw the lines that show what will be folded in a different color making it easier to visualize what will be folded:
[ code='text' ]    ( Popup )
fold.highlight=1 fold.highlight.colour=#00FF00
It requires fold.symbols to be set to either 2 or 3.

Also, I found the settings for the background loading/saving: background.open.size, background.save.size. These take a size in bytes. So the following should disable background loading and saving for anything under 2GB:
[ code='text' ]    ( Popup )
background.open.size=2147483647 background.save.size=2147483647
To enable background loading/saving for all files use:
[ code='text' ]    ( Popup )
background.open.size=-1 background.save.size=-1
The default is to use it for all files so if Jos didn't override this already that is what's happening.

The technology property causes SciTE to use Direct2D/DirectWrite. It's supposed to look better but I personally didn't like how things looked when I turned it on.

Finally about the inline errors. Those are implemented via something called Annotations. It may be something that can be done via Lua. Also I've discovered that there is a menu command (Tools -> Next Message) that will automatically jump to a message (moves the cursor, boo) and show the inline errors (yay). It may be possible to do something like wrap invoking Au3Check in Lua so that we can do fun things like automatically show the inline errors after running Au3Check as well as automatically clearing orphaned errors by just running Au3Check cleanly. It may also be possible to save/restore the current position so it's a little less annoying.
"She wears a dress like a body bag every day"

I have a blog where I rant. Imagine that.

#18 LaCastiglione

    Mass Spammer!

  • Full Members
  • PipPipPipPipPipPip
  • 1,648 posts
  • Gender:Not Telling
  • Location:from the æther

Posted 16 January 2012 - 08:04 PM

It happens when you fold and or unfold stuff. Blank lines and other unfoldables will get fold points with technology=1.

[ autoIt ]    ( ExpandCollapse - Popup )
Func tidy_view_get_run_diff_prog(Const $this, Const $show)     Switch $show         Case '', ' ', 0             GUICtrlSetState($tidy_select_diff_prog_path, $GUI_DISABLE)             GUICtrlSetState($tidy_diff_prog_path,       $GUI_DISABLE)             GUICtrlSetData ($tidy_diff_prog_path,       $show)         Case Else             GUICtrlSetState($tidy_select_diff_prog_path, $GUI_ENABLE)             GUICtrlSetState($tidy_diff_prog_path,       $GUI_ENABLE)             GUICtrlSetData ($tidy_diff_prog_path,       $show)     EndSwitch     Return $this EndFunc Func tidy_view_get_add_function_tail_comments(Const $this, Const $add)     Switch $add         Case 0             GUICtrlSetState($tidy_add_endfunc_comment,    $GUI_UNCHECKED)         Case 1             GUICtrlSetState($tidy_add_endfunc_comment,    $GUI_CHECKED)     EndSwitch     Return $this EndFunc

☥☽☼☥☀☾☥⚜⚜☥☾☀☥☼☽☥
Every sha-la-la-la
Every wo-wo-wo
Still shines
Every shing-a-ling-a-ling
That they're starting to sing's
So fine

☥☽☼☥☀☾☥⚜⚜☥☾☀☥☼☽☥

#19 Jos

    Doing my thing my way

  • Developers (Dev)
  • 19,956 posts
  • Gender:Not Telling

Posted 16 January 2012 - 10:58 PM

*
POPULAR

View PostLaCastiglione, on 16 January 2012 - 08:04 PM, said:

It happens when you fold and or unfold stuff. Blank lines and other unfoldables will get fold points with technology=1.
I would say about the same the doctor said when the patient told him it hurts when he presses a certain spot: Stop pressing the particular spot. ;)

Quote

technology: On Windows Vista or newer, this can be set to 1 to use the Direct2D and DirectWrite APIs for higher quality antialiased drawing. The default is 0.

Edited by Jos, 16 January 2012 - 10:58 PM.

SciTE4AutoIt3 Homepage
Installation instructions for SciTE4AutoIt3 and AutoIt3:Production and Beta.
---------------------------
Live for the present,
Dream of the future,
Learn from the past.

#20 LaCastiglione

    Mass Spammer!

  • Full Members
  • PipPipPipPipPipPip
  • 1,648 posts
  • Gender:Not Telling
  • Location:from the æther

Posted 17 January 2012 - 07:13 AM

Ah hah, I thought you were being serious about wanting a snippet. :doh:
☥☽☼☥☀☾☥⚜⚜☥☾☀☥☼☽☥
Every sha-la-la-la
Every wo-wo-wo
Still shines
Every shing-a-ling-a-ling
That they're starting to sing's
So fine

☥☽☼☥☀☾☥⚜⚜☥☾☀☥☼☽☥





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users