Home Download Buy Blog Forum Support

Couple of API questions

Couple of API questions

Postby agibsonsw on Tue Feb 28, 2012 11:17 pm

Hello. I have a few (short) questions about the ST API, if someone might spare a minute pl ;)

1) How does the 'edit' parameter for a TextCommand object differ from an Edit object I might create/begin? Is it just that it doesn't require an 'end_edit'?
2) Does my Edit object exist in an internal buffer? In which case, is it possible to cancel my editing, without having to (somehow) undo it?
3) Must Regions that I create always refer to an existing view or panel? That is, is it possible to create a 'virtual' Region?
4) I know that sel() returns a RegionSet. How do I create, or refer to, a different RegionSet?

Here's hoping, Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 15 guests