Jump to content

Something that I can't figure out ...


 Share

Recommended Posts

Nevermind, I think I've just been up too long.

Hope I'm not overlooking something.

Global Const $line = _
"      $this.Model.UpdateUserProperty('style.au3.32',    'back:' & $this.Model.GetEditBackColor()  & ',' & _" ; StringLen() = 104
                                                                                                         |
123456789|123456789|123456789|123456789|123456789|123456789|123456789|123456789|123456789|123456789|12345|789|
                                                                                                         ^ Column 106
ConsoleWrite(StringLen($line) & @CRLF)

StringLen says that $line is 104 chars long.  Which is true.  When I place the caret after the underscore and in front of the closing quotation mark then SciTE reports the column as 106.  I thought they should be the same thing?

If remove the Tab that appears between "GetEditBackColor()" and the ampersand and replace them with two spaces (I have tabs set to two in SciTE) then StringLen will return 103 even though the string appears to be the same length.  This must have been some typo I made.

Edit: The forum seems to have changed the formatting.  Download this if interested:

Edited by jaberwocky6669
Link to comment
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
 Share

  • Recently Browsing   0 members

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