Is there a way to tell via scripting if a window is already split
(horizontal/vertical)? I've read through the scripting reference but haven't
found this function.

I wrote an extension that finds and navigates to a function definition and I'd
like this in a split window instead of jumping away from my current selection.
Currently, my dirty workaround:

If the match is in the same file:
   a. set horizontal split (this undos vertical split if set)
   b. set vertical split (this undos horizontal split if set or sets vertical
   c. move active window to right side of vertical split
   d. set active line in this editor object

else : match is in a different file
   a. set other file as active
   b. navigate to file

-- 
<http://forum.pspad.com/read.php?2,66589,66589>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem