Sublime Forum

Text Pastry - not full functionally

#1

im using plugin Text Pastry ( github.com/duydao/Text-Pastry )

But does not work using custom separators (for example “;”).

Example 1)

Text
============
A
A
A

InCliboard
===========
1;2;3

Consola
===========
\p(;)   # or (";") -- nothing

Result (BAD)
==========
1;2;3
A
A

Example 2) - ur example from GitHub

Text
===========
var a = load('null');
var b = load('null');
var c = load('null');
var d = load('null');
var e = load('null');
var f = load('null');


Clipboard
=============
71602   White Hall
71603   Pine Bluff
71611   Pine Bluff
71612   White Hall
71613   Pine Bluff
71630   Arkansas City
71631   Banks
71635   Crossett
71638   Dermott
71639   Dumas


Consola
===============
\p(\n)


Result (BAD)
===============
var a = load('71602');
var b = load('White');
var c = load('Hall');
var d = load('71603');
var e = load('Pine');
var f = load('Bluff');

It is interesting that if I use a command from the menu “Lines from Clipboard” its WORKING.

Other examples works fine.

Can you give me some explanation why examples above works bad? Thx very much.

0 Likes

#2

I might go check over at the Text Pastry site.
github.com/duydao/Text-Pastry/issues

0 Likes