Plugin: Preview Tabs
Plugin: Preview Tabs
Adds actions for changing preview tabs (Editor / Preview / Horizontal Split / Vertical Split) in menu. You can then assign keyboard shortcuts to these actions and switch between Preview and Editor without using mouse.
- Attachments
-
- preview tabs.zip
- (537 Bytes) Downloaded 809 times
Blumentals Software Programmer
Re: Plugin: Preview Tabs
Code to use as an example:
Code: Select all
function TabEditor(Sender) {
Document.PreviewTabIndex = 0;
}
function TabPreview(Sender) {
Document.PreviewTabIndex = 1;
}
function TabHoriz(Sender) {
Document.PreviewTabIndex = 2;
}
function TabVert(Sender) {
Document.PreviewTabIndex = 3;
}
Script.RegisterDocumentAction("Change Preview Tab", "Editor", "", &TabEditor);
Script.RegisterDocumentAction("Change Preview Tab", "Preview", "", &TabPreview);
Script.RegisterDocumentAction("Change Preview Tab", "Horizontal Split", "", &TabHoriz);
Script.RegisterDocumentAction("Change Preview Tab", "Vertical Split", "", &TabVert);
Blumentals Software Programmer
Re: Plugin: Preview Tabs
fully functional now i am fully mouse free.
really appreciate it .
thank you.
really appreciate it .
thank you.