odd .syn problem
Posted: Wed Dec 01, 2010 6:23 pm
textpad v5.4 on windows 7 x64.
updated:
While editing a javascript file, i find textpad edits several characters offset from where the cursor is positioned when editing a certain section of the file.
The problem only happens in a certain part of my file where some html is being composed:
TIA -
updated:
While editing a javascript file, i find textpad edits several characters offset from where the cursor is positioned when editing a certain section of the file.
The problem only happens in a certain part of my file where some html is being composed:
The problem seems to be the heavy quoting in the affected area; I've been using textpad for years and never saw this until i started manually editing html
var html =
' <div class="ui-box-container" style="float:left; width:75%;"> ' +
' <div class="ui-box-left-shadow"><img src="css/page-widgets/images/ui-box-left-shadow.png" /></div> ' +
' <div class="ui-box-right-shadow-thin"><img src="css/page-widgets/images/ui-box-right-shadow-thin.png" /></div> ' +
' <div class="ui-box-thin-left"> ' +
' <div class="ui-box-header"> ' +
' <div class="ui-box-header-title"></div> ' +
' <div style="clear:both;"></div> ' +
' </div> ' +
' <div class="ui-box-content"> ' +
'<table class="stripedFlatTable" id="' + this.id + '" cellpadding="0" style="border-spacing: 0px;" >' +
'<tbody id="body_' + this.id + '">' +
'</tbody>' +
'</table>' +
' </div> ' +
' </div> ' +
' <div style="clear:both;"></div> ' +
' </div>';
TIA -