Skip to content

Commit

Permalink
Merge branch 'prepare-for-0.7.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
kana committed Aug 22, 2017
2 parents 07494f6 + 24383f2 commit 8e885f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion autoload/textobj/user.vim
@@ -1,5 +1,5 @@
" textobj-user - Create your own text objects
" Version: 0.7.1
" Version: 0.7.2
" Copyright (C) 2007-2015 Kana Natsuno <http://whileimautomaton.net/>
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
Expand Down
28 changes: 14 additions & 14 deletions doc/textobj-user.txt
@@ -1,6 +1,6 @@
*textobj-user.txt* Create your own text objects

Version 0.7.1
Version 0.7.2
Script ID: 2100
Copyright (C) 2007-2015 Kana Natsuno <http://whileimautomaton.net/>
License: MIT license {{{
Expand Down Expand Up @@ -409,16 +409,8 @@ textobj#user#map({plugin-name}, {specs})
- A key mapping defined by textobj#user#map() is actually used, and
- The corresponding text object does not exist at that moment.




==============================================================================
OBSOLETE API *textobj-user-obsolete-api*

*textobj#user#move()*
textobj#user#move({pattern}, {flags}, {previous-mode})
Note: This function is obsolete. It will be removed in sometime.

Move the cursor to the appropriate object defined by {pattern}.

{flags} is a string, which can contain the following character flags:
Expand All @@ -441,8 +433,6 @@ textobj#user#move({pattern}, {flags}, {previous-mode})

*textobj#user#select()*
textobj#user#select({pattern}, {flags}, {prevous-mode})
Note: This function is obsolete. It will be removed in sometime.

Select an appropriate object defined by {pattern}. The following
places are scaned to find an appropriate object:

Expand All @@ -468,12 +458,12 @@ textobj#user#select({pattern}, {flags}, {prevous-mode})

For the detail of {previous-mode}, see |textobj#user#move()|.

Return value is not defined.
This function returns a list of the start position and the end
position for an object. Each position is [{lnum}, {col}].
If there is no appropriate object, 0 is returned instead.

*textobj#user#select_pair()*
textobj#user#select_pair({pattern1}, {pattern2}, {flags}, {previous-mode})
Note: This function is obsolete. It will be removed in sometime.

Select the appropriate object which starts with {pattern1} and ends
with {pattern2}.

Expand All @@ -497,6 +487,12 @@ textobj#user#select_pair({pattern1}, {pattern2}, {flags}, {previous-mode})

Return value is not defined.




==============================================================================
OBSOLETE API *textobj-user-obsolete-api*

*textobj#user#define()*
textobj#user#define({pattern}, {pattern1}, {pattern2}, {guideline})
Note: This function is obsolete. It will be removed in sometime.
Expand Down Expand Up @@ -569,6 +565,10 @@ KNOWN ISSUES *textobj-user-known-issues*
==============================================================================
CHANGELOG *textobj-user-changelog*

0.7.2 2017-08-22T21:07:30+09:00 *textobj-user-changelog-0.7.2*
- |textobj#user#select()|: Support a new flag 'N'.
- Fix the plugin itself to be easily reloaded.

0.7.1 2015-05-03T01:45:37+09:00 *textobj-user-changelog-0.7.1*
- Fix a bug that count given to "move-n" and others for
"pattern"-based text objects in Visual mode is ignored.
Expand Down

0 comments on commit 8e885f9

Please sign in to comment.