-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ Editor's scrollbar existence is checked with macro. + User may specify right border padding with 3-d arg, ex. 2 cells: Plugin.Call("580F7F4F-7E64-4367-84C1-5A6EB66DAB1F",1,2)
- Loading branch information
Showing
6 changed files
with
95 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
|
||
-- Here is an example how to use macro to call plugin EditWrap | ||
|
||
Macro | ||
{ | ||
area="Editor"; | ||
key="ShiftF3"; | ||
description="Wrap/unwrap lines virtually"; | ||
action=function() | ||
-- Toggle word wrap. | ||
-- Command ID (2) is the same as hotkey in the plugin menu | ||
-- Toggle (word) wrap with Plugin.Call | ||
-- Arg#1: Plugin GUID | ||
-- Arg#2: Command ID, `2` is the same as hotkey in the plugin menu | ||
-- Arg#3: (Optional) cell count of the right border padding | ||
Plugin.Call("580F7F4F-7E64-4367-84C1-5A6EB66DAB1F",2) | ||
end | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters