Bugs item #1353202, was opened at 2005-11-10 06:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1353202&group_id=2439

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SciTE
Group: Bug
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: New File Ignores Custom Properties

Initial Comment:
In my user properties file, I have done things like:

tab.size.$(file.patterns.html)=4
indent.size.$(file.patterns.html)=4
use.tabs.$(file.patterns.html)=1

If I create a new blank document, add some text, then
save it as an html file (.html), my custom peroperties
are not applied to that document. Hitting TAB yields an
 8 character-wide tab stop instead of 4.

If I close that new file, and reopen it, my custom
properties are applied correctly, and I get a
4-character wide tab stop.

The same thing happens for other file groups... like perl:

tab.size.$(file.patterns.perl)=4
indent.size.$(file.patterns.perl)=4
use.tabs.$(file.patterns.perl)=0

Opening existing files, the tabs are 4 spaces. Creating
a new document, and saving it as a .pl file, yields the
default behaviour (8 character-wide tab stop) form the
perl.properties file.

If I add thse customizations above to the actual
html.properties or perl.properties files, the same
things happen.  It appears that newly saved documents
don't pick up some or all of their properties for their
extension/file type.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1353202&group_id=2439
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to