File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ strbuf API actually relies on the string being free of NULs.
1212
1313strbufs has some invariants that are very important to keep in mind:
1414
15- . The `buf` member is never NULL, so you it can be used in any usual C
15+ . The `buf` member is never NULL, so it can be used in any usual C
1616string operations safely. strbuf's _have_ to be initialized either by
1717`strbuf_init()` or by `= STRBUF_INIT` before the invariants, though.
1818+
@@ -55,7 +55,7 @@ Data structures
5555
5656* `struct strbuf`
5757
58- This is string buffer structure. The `len` member can be used to
58+ This is the string buffer structure. The `len` member can be used to
5959determine the current length of the string, and `buf` member provides access to
6060the string itself.
6161
@@ -253,3 +253,9 @@ same behaviour as well.
253253 comments are considered contents to be removed or not.
254254
255255`launch_editor`::
256+
257+ Launch the user preferred editor to edit a file and fill the buffer
258+ with the file's contents upon the user completing their editing. The
259+ third argument can be used to set the environment which the editor is
260+ run in. If the buffer is NULL the editor is launched as usual but the
261+ file's contents are not read into the buffer upon completion.
You can’t perform that action at this time.
0 commit comments