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

Number sequence "each" #46

Closed LydiaF closed 8 years ago

LydiaF commented 8 years ago

Hi there,

Firstly thanks for text pastry, use it many times every day!

Secondly, I would like to be able to generate a number sequence like: 1 1 2 2 3 3 4 4 Sorry if this is already possible and I haven't seen it. So in text pastry this might be \i(each = 2)

Thanks :)

duydao commented 8 years ago

Hey!

Thank you very much for your suggestion! A similar feature was already requested in #39. It will be in release 1.5.0 if everything works out.

Thanks for using Text Pastry!

duydao commented 8 years ago

Hey @LydiaF,

I just realized that this is already possible in the current version of Text Pastry:

i 1 each=2

Thanks again for using Text Pastry!

LydiaF commented 8 years ago

Thank you!