Sublime Forum

Change the size of a viewport

#1

Hi!, I’m trying to create my first plugin for sublimetext 2, I’m stuck now.

There is any way to set the viewport size? I was able to get the size of the viewport with the viewport_extent() method, but I don’t know how to set it to a new size.

Any idea is very welcomed, thanks

0 Likes