Hello, there!
I am creating a package for specialized drawing inside the editor and need to create a Pane for the drawing to take place. I tried a Panel, but they don’t seem to support horizontal resizing.
So far I could only “create a Pane” by calling atom.workspace.open
, what made me assume Panes are necessarily TextEditor
s.
Then my question: is there a way to create Blank Panes for me to insert any HTML and keep the ability to scroll horizontally?
Relevant code, so far:
atom.workspace.open(editor.getPath(), {
split: 'right'
}).then(function(editor){
// Destroy the editor stuff making the Pane empty.
// Apply my view to the Pane.
// Celebrate Victory!
});
Thanks in advance.