From: Alex T. <al...@tw...> - 2005-12-15 00:50:36
|
Don Taylor wrote: > Alex Tweedly wrote: > >> >> I use the PythonCard editor about 90% of the time - does have some >> advantages for having built-in knowledge of the controls and events >> associated with them, plus easy access to the runtime options (debug, >> log, message watcher, etc.) > > I am curious about the PythonCard editor having "built-in knowledge of > the controls and events associated with them". A quick look at the > code editor did not reveal this to me - what should I be looking for? It's not in the "normal" codeEditor, it's in the "advanced" version, which can be found, rather confusingly, in PythonCard/tools/oneEditor/tabcodeEditor.py Has two features not in the basic editor - uses tabbed notebook to allow multiple files to be edited - has a drop-down for all controls in the current file Selecting one of them makes another drop-down appear. This shows all events for that control type, with a "+" marking those for which a handler exists. Selecting one of those will position the cursor on the first line of the handler. Selecting one for which no handler exists yet will insert a "blank" handler (without ensuring your on a blank line - use with care :-) This "advanced" editor is "experimental" - hasn't been as widely used or tested as the basic one, so use with care. Having said that, I've used it almost exclusively for many months and had only one (repeated) glitch (something to do with opening new windows while the shell window is open - but couldn't reproduce it). Oh - and it doesn't yet do Ctrl-F4 to close a tab - you need to do Ctrl-W. Minor, but annoying. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 13/12/2005 |