Discussion:
[Notepad-plus-plus] [notepad-plus - Open Discussion] New TextFX Edit item: Swap sides on "=" or ..
SourceForge.net
2009-09-11 14:42:07 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7624765
By: drumputerman

convert lines like:
var1 = recordset.fields("fieldname1").value
var2 = recordset.fields("fieldname2").value
to:
recordset.fields("fieldname1").value = var1
recordset.fields("fieldname2").value = var2
and it could use clipboard character instead of "=" but maybe "=" would be the
character 99.99% of the time, anyway.

If this already exists under a different name, well I couldn't tell because
I had "swap sides" on my brain

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753
SourceForge.net
2009-09-11 17:00:47 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7625036
By: cchris

Replace ^\s*([^=]+)\s*=\s*([^\s].*[^\s])\s*$
with \2 = \1
Regexp mode, Repace All
This is a bit sophisticated in order to normalise whitespacing.

CChris

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331753

Loading...