cag8f Posted February 8, 2014 Posted February 8, 2014 Quick noob question: In SciTE, on the left hand side where it displays my line numbers, it skips numbers in some places. I'm pretty sure this is because I commented out a block (or blocks) of code, and that the undisplayed line numbers are commented out. But how do i get them back? Can someone explain (or point me to a page explaining) this phenomenon?
Developers Jos Posted February 8, 2014 Developers Posted February 8, 2014 (edited) Does it show a character at the beginning of the line with a + in it? (Folding) If so, click it. Jos Edited February 8, 2014 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.
cag8f Posted February 8, 2014 Author Posted February 8, 2014 No, all +'s and -'s that expand/collapse blocks (For loops, If/Else statements, etc) are missing from the hidden lines.
Developers Jos Posted February 8, 2014 Developers Posted February 8, 2014 No, all +'s and -'s that expand/collapse blocks (For loops, If/Else statements, etc) are missing from the hidden lines. and comment blocks too. I know since I wrote the lexer. 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.
cag8f Posted February 8, 2014 Author Posted February 8, 2014 I see. So can you explain to me what is happening? Or can you point me to a page that can shed light on the topic?
Developers Jos Posted February 8, 2014 Developers Posted February 8, 2014 Show me what you see because I have no idea what your problem is yet when you don't see a Fold you can expand. 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.
cag8f Posted February 8, 2014 Author Posted February 8, 2014 I would love to share a screenshot. How do I do that? Clicking on 'image' in this editor only accepts a URL. Do I have to upload my screenshot to an image sharing service, then use that URL? There is also the 'My Media' link, but I can't figure out how to upload media to my Autoit profile.
guinness Posted February 8, 2014 Posted February 8, 2014 Just attach a screenshot, like you would do other files in your post. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018
cag8f Posted February 8, 2014 Author Posted February 8, 2014 I've never attached a file to a post on these forums, so I don't know how to do that.
JohnOne Posted February 8, 2014 Posted February 8, 2014 Click on full editor button. you will see button to attach on bottom then. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
cag8f Posted February 8, 2014 Author Posted February 8, 2014 Got it, thanks. OK here is a screenshot of the area in-question. Note the missing line numbers on the left.
Developers Jos Posted February 8, 2014 Developers Posted February 8, 2014 Please send me the file that causes these missing line numbers so I can see it for myself, as this looks puzzling to me. Also tell me what version you are using. 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.
cag8f Posted February 8, 2014 Author Posted February 8, 2014 I'm using version 3.3.0. I stumbled upon a resolution/workaround to the issue. To recap the issue, whenever I collapse a block of code then comment it, some or all of the lines become hidden (as in the screenshot I attached). However as soon as I click on another open tab, then go back to the tab in-question, the lines are no longer hidden and SciTE works as intended. Furthermore, when I save, close, and re-open the script, the lines are no longer hidden. Is this expected behavior?
Developers Jos Posted February 8, 2014 Developers Posted February 8, 2014 I'm using version 3.3.0. I stumbled upon a resolution/workaround to the issue. To recap the issue, whenever I collapse a block of code then comment it, some or all of the lines become hidden (as in the screenshot I attached). However as soon as I click on another open tab, then go back to the tab in-question, the lines are no longer hidden and SciTE works as intended. Furthermore, when I save, close, and re-open the script, the lines are no longer hidden. Is this expected behavior? Guess not .. but am still sailing blind. I need exact steps to replicate as my crystal-ball is still in the workshop. Also try the latest version first to see if this is a bug which was resolved by Neil in the standard distribution. 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.
cag8f Posted February 8, 2014 Author Posted February 8, 2014 Well now I can't re-create the problem. The issue may have been because I had some unclosed IF statements. Or because I double or even triple commented some of my lines. Thanks for the assistance andI'll keep an eye out for the issue.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now