[twdev] Re: Is this a safe assumption to program around?

2011-10-20 Thread PMario
On Oct 20, 6:56 pm, Antaeus Feldspar wrote: > Because I expect that the text between the delimiters may be very > large, I'd rather not be copying the entire text into memory, so the > alternative I was planning to use was to store the offsets at which > the delimited text had been found, and have

[twdev] Re: Is this a safe assumption to program around?

2011-10-20 Thread Antaeus Feldspar
Let me try to clarify my question.  When I'm asking about something modifying "the source", I'm not referring to the Javascript source of my plugin; I'm talking about the source of a tiddler that the plugin might be acting upon. My plugin looks for particular delimiting markers in a tiddler's sour

[twdev] Re: Is this a safe assumption to program around?

2011-10-20 Thread PMario
The core functions, you use to edit and save a tiddler content, can be used by any code executed in the browser. So yes, any other plugin can change your code. Due to the nature of browser JS, your code can be modified, even without touching your tiddler/plugin. Just change your programm in the br

[twdev] Re: Is this a safe assumption to program around?

2011-10-20 Thread rakugo
I'm not really sure I understand the question or the reason for your question. Plugins are only executed at the start of loading TiddlyWiki. Theoretically you could have a plugin that changed the behaviour of certain macros / contents of certain tiddlers and overwrote them, but I'm not sure why any