duydao / Text-Pastry

Extend the power of multiple selections in Sublime Text. Modify selections, insert numeric sequences, incremental numbers, generate uuids, date ranges, insert continuously from a word list and more.
MIT License
832 stars 46 forks source link

Possible Documentation Error #3

Closed bseymore closed 12 years ago

bseymore commented 12 years ago

In the documentation, for the "Start at 1000, adding 100 for each selection" example the documentation states the proper command is "\i(1000,100)".

On my system — Sublime Text 2 (Build 2220) on OS X 10.8 — \i(1000,100) is not working. Instead, if I have four lines selected, I get the following.

1 2 3 4

A little trial-and-error revealed removing the parens gets the desired result. So, /i1000,100 returns:

1000 1100 1200 1400

duydao commented 12 years ago

Thanks for the hint! I've just submitted a fix for the \i(N,M) syntax.

\iN,M is an undocumented shortcut. I'm going to update the readme accordingly.

Thanks again for the report