Developers Jos Posted January 14, 2012 Developers Share Posted January 14, 2012 (edited) I have merged Neils SciTE v 3.20 Source with our own repository and have made it available in a separate directory in the Beta site.SciTE v 3.20SciLexer.dll v3.20History of changesMy 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=2Appreciate when people can test and let me know if they see issues or if all is working fine.Cheers,JosUpdated to 3.20 6/9/2012. Edited June 9, 2012 by Jos jaberwacky, JScript and FaridAgl 3 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 More sharing options...
jaberwacky Posted January 14, 2012 Share Posted January 14, 2012 (edited) Do we just replace the current SciTE 2.X with this one? Nevermind, I imagine so. First report. Blank lines have fold points. Edited January 14, 2012 by LaCastiglione Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Developers Jos Posted January 14, 2012 Author Developers Share Posted January 14, 2012 Correct for both files. 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 More sharing options...
JScript Posted January 14, 2012 Share Posted January 14, 2012 I still haven't found problems, but your changes are amazing! Thank you very much! Regards, João Carlos. http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere! Link to comment Share on other sites More sharing options...
wraithdu Posted January 15, 2012 Share Posted January 15, 2012 (edited) 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 January 15, 2012 by wraithdu Link to comment Share on other sites More sharing options...
Developers Jos Posted January 15, 2012 Author Developers Share Posted January 15, 2012 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 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 More sharing options...
Moderators Melba23 Posted January 15, 2012 Moderators Share Posted January 15, 2012 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:#Special style.au3.12=fore:#A00FF0,italics,back:#E9FEE0As you can see, all the other "special" codes like #region seem to take the correct colour.M23P.S. And no comments about the colour scheme - I like it! 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Developers Jos Posted January 15, 2012 Author Developers Share Posted January 15, 2012 Have you download the latest version I uploaded around 10PM CT yesterday? 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 More sharing options...
Moderators Melba23 Posted January 15, 2012 Moderators Share Posted January 15, 2012 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 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Developers Jos Posted January 15, 2012 Author Developers Share Posted January 15, 2012 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 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 More sharing options...
Valik Posted January 15, 2012 Share Posted January 15, 2012 Jos, have a look at the following properties: error.inline style.error.0 style.error.1 style.error.2 style.error.3 Might be some useful stuff there. Link to comment Share on other sites More sharing options...
Valik Posted January 15, 2012 Share Posted January 15, 2012 (edited) Here's what I came up with:error.inline=1 style.error.1=fore:#FF0000,back:#FFFF00 style.error.2=fore:FFFFFF,back:#FF0000However, 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 January 15, 2012 by Valik Link to comment Share on other sites More sharing options...
jaberwacky Posted January 16, 2012 Share Posted January 16, 2012 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. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Developers Jos Posted January 16, 2012 Author Developers Share Posted January 16, 2012 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 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 More sharing options...
Developers Jos Posted January 16, 2012 Author Developers Share Posted January 16, 2012 Here's what I came up with: 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 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 More sharing options...
Valik Posted January 16, 2012 Share Posted January 16, 2012 I found a "solution" for the orphaned errors issue. Search -> Clear All Bookmarks removes them. Link to comment Share on other sites More sharing options...
Valik Posted January 16, 2012 Share Posted January 16, 2012 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:fold.highlight=1 fold.highlight.colour=#00FF00It 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:background.open.size=2147483647 background.save.size=2147483647To enable background loading/saving for all files use:background.open.size=-1 background.save.size=-1The 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. Link to comment Share on other sites More sharing options...
jaberwacky Posted January 16, 2012 Share Posted January 16, 2012 It happens when you fold and or unfold stuff. Blank lines and other unfoldables will get fold points with technology=1. 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 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Developers Jos Posted January 16, 2012 Author Developers Share Posted January 16, 2012 (edited) 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. 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 January 16, 2012 by Jos Melba23 1 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 More sharing options...
jaberwacky Posted January 17, 2012 Share Posted January 17, 2012 Ah hah, I thought you were being serious about wanting a snippet. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
Recommended Posts