This plugin works with VB scripts. It will mark the region of code containing the current function/sub in which the caret is located, then it will toggle SyncEditing for that region.

I liked a possibility in EControl Syntax Editor that with double-click on the function/sub name in the tree panel it selects the same whole function/sub in the editing panel. Unfortunately, SynWrite just places the caret to the begin of the related function name in the editing panel, but using this plugin I could get even better result than I get with EControl. If I don't have selected text before executing this plug-in I will get selected whole current function/sub (with its region marked for SyncEditing), but if I have some already selected text then that text will stay selected while the whole function will be marked to SyncEditing.

-ZYX
