Columns

2018-02-13 Thread Mark Damon Hughes
I use MultiMarkdown tables, like this:

Name|A  |B  |C
|:--|:--|:--
Foo |1  |2  |3
Bar |4  |5  |6

The Edit->Columns->Rearrange Columns… option just gives an error:

BBEdit couldn’t guess what kind of column delimiter was in use. No 
supported delimiters were found on the first line of the text.

I've tried changing the | to , in hopes that CSV would work, but it's not happy 
with that, either. The manual doesn't give an example of valid tables.

Ideally, it'd just support MultiMarkdown | delimiters, but I'd settle for any 
simple regex transform.

-- 
 Mark Damon Hughes
 <kamikaze.m...@gmail.com>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Are there any special features about this code editor?

2017-11-28 Thread Mark Damon Hughes
On Nov 27, 2017, at 08:51, Madelyn Bingham <madelyn.bing...@gmail.com> wrote:
> 
> Can someone tell me what makes BBEdit different or better than other code 
> editors? I understand it is mostly geared towards Apple Products, but I could 
> just as easily download Notepad++ or Brackets on my Macintosh, which seem to 
> be more popular. Are there any special features about BBEdit that make it 
> special or set it apart? What are some tips and tricks to using this code 
> editor?

Plenty of others have echoed my thoughts, especially as Kerri mentions opening 
gigantic files and doing search & replace, which kills most other editors.

I use the text filters (writing shell scripts/Python to process my text) 
constantly.

But the biggest ones are speed and stability. I type fast, and expect to be 
able to jump around in a document tree, and see a live preview when writing 
Markdown. Atom with a bunch of plugins is about as good as BBEdit for complex 
code and regex work, but it's unusable on big files, can slow down to a dead 
crawl, the syntax coloring can die and need a reload, and it's generally flaky, 
whereas BBEdit keeps up and keeps working. It's the Terminator of text editors.

-- 
 Mark Damon Hughes
 <kamikaze.m...@gmail.com>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: Filter to reverse order of lines

2017-11-17 Thread Mark Damon Hughes
> On Nov 17, 2017, at 03:36, Marek Stepanek <ms...@podiuminternational.org> 
> wrote:
> Hello all!
> I would like to reverse the order of a selected lines with a BBEdit
> filter. Best with Perl.

I'm sure there's a Perl one-liner, but the Python script I use is:

#!/usr/bin/env python3
import sys
with sys.stdin as f:
lines = f.readlines()
lines.reverse()
for l in lines:
sys.stdout.write(l)
sys.stdout.flush()

-- 
 Mark Damon Hughes
 <kamikaze.m...@gmail.com>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.


Re: [ANN] BBEdit 12.0.2 (400035) pre-release

2017-11-14 Thread Mark Damon Hughes

> On Nov 13, 2017, at 12:28, Rich Siegel <sie...@barebones.com> wrote:
> 
> *   [NFR] [348602] Fixed a bug in which using a symlink or alias for
>the `DefaultFilter_` preview filter would not resolve
>the alias correctly.
> 
> *   [348602] Fixed bug in which BBEdit would open an untitled text
>document at startup when the "New text document" application
>preference was set, even in situations when non-text documents
>had already been opened.


Looks good, my bugs are dead!

-- 
 Mark Damon Hughes
 <kamikaze.m...@gmail.com>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.