Empty Padding Between Line Numbers and 1st Column

2022-10-10 Thread John E. Connerat
I searched in the manual and am not sure what to look for other than 
"gutter." For my question, the gutter is preference is unchecked and not in 
play, so I see line numbers, vertical space, and then the first character 
of the first column of my text.

My issue is that that the amount of space between the line number and my 
first column looks to be about a "1/2-character wide" and several times a 
day, I don't think my text is flush left. I think that there is a leading 
space because of this padding.

Visually, it's nice not to have column 1 right next to the line numbers, 
but the space is too much. I'm using Menlo, size 14, at 100% magnification.

I've attached screen shots, but I can't recall if attachments are allowed 
on the digest.

When I change it to a ridiculous size (like 36 point), the buffer looks 
perfect. It's now about 1/16th of a character wide, so it's seems to be a 
fixed amount. I'd just like it smaller.

I do have the "line spacing" slider moved to the right a little bit, so I 
have some extra vertical space in case anyone tries to replicate this.

Here are two screen shots with annotations.

Does anyone know if this padding can be adjusted? It's not "the gutter."

Thanks!

-John





-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/fbdc9f7f-ca1d-4040-89f7-197923e4a4fcn%40googlegroups.com.


Re: Help with a GREP task

2022-06-30 Thread John E. Connerat
Although this has been solved in numerous ways, there is one more solution 
that might work if all the data are formatted with exactly three digits 
followed by a space and two digits. It's something I use all the time with 
fixed-width column data, and it's particularly quick, especially if you are 
dealing with a column in the middle of many columns.

Let me expound upon the example slightly.

123 56
444 28
232 41
413 82
313 43
789 01

With a list like this you can put your cursor at the top left and click. Do 
not select the row. Then, (on the Mac), hold down the shift and the option 
key and click immediately to teh right of the 9 (In 789). Instead of 
highlighting all characters, all rows, you are just highlighting the exact 
18 characters you want for "column 1." You can then copy or cut and do the 
same thing with column 2.

For a PC, I don't know the exact combination, but I would think it work 
similarly with Shift and Alt or something like that.

NOTE: if you have wide lines, and soft-wrap text is turned on and you have 
wrapping line, this won't work since it would give unintended results.

I use this all the time. It's a super-fast way to extract a delimited 
column of text from a bunch of rows without having to write a regex or use 
awk. It's just a way to invoke copy and paste interstitially!

-John



On Thursday, June 30, 2022 at 5:06:09 AM UTC-4 Kaveh wrote:

> David, Extract is a great feature. Simple but clever. I use it all the 
> time for quickly analysing text I have scraped for example...
>
> On Thu, 30 Jun 2022 at 05:18, David Brostoff  wrote:
>
>> On Jun 29, 2022, at 8:52 PM, Christopher Waterman  
>> wrote:
>> > 
>> > Well… No, no more steps.
>>
>> Mystery solved:
>>
>> I somehow had the Regex command highlighted in the Find box. As soon as I 
>> clicked elsewhere to dismiss the highlighting, the extracted text appeared 
>> in the new document.
>>
>> Thanks again -- I really appreciate your help.
>>
>> David
>>
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a feature 
>> request or need technical support, please email "sup...@barebones.com" 
>> rather than posting here. Follow @bbedit on Twitter: <
>> https://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+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/bbedit/6B2A593B-C6C4-4EAE-A75F-5B93CAF26B17%40earthlink.net
>> .
>>
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a feature 
>> request or need technical support, please email "sup...@barebones.com" 
>> rather than posting here. Follow @bbedit on Twitter: <
>> https://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+un...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/bbedit/A3E920D6-108D-4EBB-988E-023C8C948DAD%40EARTHLINK.NET
>> .
>>
>
>
> -- 
> Kaveh Bazargan PhD
> Director
> River Valley Technologies  ● Twitter 
>  ● LinkedIn 
>  ● ORCID 
> 
> *Accelerating the Communication of Research*
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/b451eb4b-6ac1-4a3e-94df-9107bf9d3e29n%40googlegroups.com.