script/text filter advice

2021-08-29 Thread Tim Gray
Is AppleScript the best/most powerful way to script text manipulation based on where the cursor currently is? I know Text Filters can be very useful, but only seem to operate on selected text (or the whole document). But I'm looking to modify the current line if nothing is selected or modify

Re: Bespoke preferences

2021-08-29 Thread Christopher Stone
> On Aug 29, 2021, at 05:48, 'Michael Hall' via BBEdit Talk > wrote:I think I'm asking for a particular set of > preferences based on the type of file I want to edit. Currently I'm opening a > file and making the preference changes before I start to edit. Surely BBEdit > has a way of doing

Re: Questions about editorconfig

2021-08-29 Thread Johnny Ragadoo
Thanks - editorconfig is on my list to explore. > On Aug 29, 2021, at 3:19 PM, Christopher Waterman > wrote: > > It’s manual. > > There is builtin support for EditorConfig file type, which comes with a set > of completions for the keys. > > Be sure to check out the entry in the manual as it

Re: Bespoke preferences

2021-08-29 Thread Christopher Waterman
I think this is what you are looking for. - Open the menu, BBEdit: Preferences. - There is a languages tab in the left column (the icon looks like hands on a typewriter). - The last section on the panel is "Language-specific settings:” - Add the language (file type) you want specific settings

Re: Questions about editorconfig

2021-08-29 Thread Christopher Waterman
It’s manual. There is builtin support for EditorConfig file type, which comes with a set of completions for the keys. Be sure to check out the entry in the manual as it goes over the BBEdit specific keys. — Chris(topher)? > On Aug 29, 2021, at 9:49 AM, Johnny Ragadoo wrote: > > Are

Re: Bespoke preferences

2021-08-29 Thread 'Michael Hall' via BBEdit Talk
Thanks, but I've already read that article and found it useful for my writing needs but not for coding. Sounds from your reply that a ready solution might not exist. If that's the case I wonder if it is something the developers could look at. It's not a major issue as I can always continue

Questions about editorconfig

2021-08-29 Thread Johnny Ragadoo
Are editorconfig files intended to be created by hand or does BBEdit have features to maintain them? I bought BBEdit this week, and I'm delighted. I haven't had anything this nice since VEDIT back in the old DOS days. That's not sarcasm. Anything in VEDIT's league (it's Windows-only) is very

Re: Bespoke preferences

2021-08-29 Thread Rob Schneider
Perhaps not exactly what you were looking for, but have a read of this https://storiesandnovels.com/bbedit/ as it explains how to setup a writing environment. Just translate into your needs? On Sunday, 29 August 2021 at 11:50:07 UTC+1 cow...@mac.com wrote: > >1. I'm new to BBEdit (v14)

Bespoke preferences

2021-08-29 Thread 'Michael Hall' via BBEdit Talk
1. I'm new to BBEdit (v14) and am trying to create an editing environment based on the file type I'm editing. For instance, when editing an html document I want to have line numbers and the gutter visible, amongst other things, but when editing a markdown or text document I