Documentation ¶
Overview ¶
Package editor encapsulates working with external text editor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditLoop ¶
EditLoop launches OS-specific editor (VI, notepad.exe or another editor configured through environment variables) It creates a temporary file with 'initial' contents and repeatedly invokes the editor until the provided 'parse' function returns nil result indicating success. The 'parse' function is passed the contents of edited files without # line comments.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.