From 175e3ba5218752cd65a21e1ddee6399790447dcf Mon Sep 17 00:00:00 2001 From: Stanislav Seletskiy Date: Fri, 17 Jul 2015 19:30:55 +0600 Subject: [PATCH] fix doc 80 chars limit --- doc/UltiSnips.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/UltiSnips.txt b/doc/UltiSnips.txt index b4a58ee..910baa9 100644 --- a/doc/UltiSnips.txt +++ b/doc/UltiSnips.txt @@ -1473,8 +1473,8 @@ variable method 'snip.cursor.set(line, column)' must be called with the desired cursor position. In that case UltiSnips will not remove any matched trigger text and it should be done manually in action code. -To addition to the scope variables defined above 'snip.visual_content' will be also -declared and will contain text that was selected before snippet expansion +To addition to the scope variables defined above 'snip.visual_content' will be +also declared and will contain text that was selected before snippet expansion (similar to $VISUAL placeholder). Following snippet will be expanded at 4 spaces indentation level no matter @@ -1518,8 +1518,9 @@ Variables 'snip.snippet_start' and 'snip.snippet_end' will be defined at the action code scope and will point to positions of the start and end of expanded snippet accordingly in the form '(line, column)'. -Note: 'snip.snippet_start' and 'snip.snippet_end' will automatically adjust to the -correct positions if post-action will insert or delete lines before expansion. +Note: 'snip.snippet_start' and 'snip.snippet_end' will automatically adjust to +the correct positions if post-action will insert or delete lines before +expansion. Following snippet will expand to method definition and automatically insert additional newline after end of the snippet. It's very useful to create a