Re: Can 'normalize options' be applied to multiple files (eg: all files in a project)?

2018-04-13 Thread gpan
I tried the 'nuclear option' and it didn't seem to work.

Basically I want all files to have 'Auto-Expand Tabs' set to 'FALSE' by 
default.

In Preferences -> Editor Defaults, I have:

Auto-indent: ON
Balance While Typing: ON
Use Typographer's quotes: OFF
Auto-expand tabs: OFF
Show Invisible Characters: OFF
  Show Spaces: ON [disabled]
Check Spelling as you type: OFF
Soft Wrap Text to [Page Guide]

Every file I open has 'Auto-expand tabs' set to ON. I either have to set it 
to OFF explicitly or trigger 'Normalize Options' for the file.


...

What's an EditorConfig? 





On Tuesday, April 10, 2018 at 12:42:42 PM UTC-7, Rich Siegel wrote:
>
> On 4/10/18 at 2:57 PM, gp...@me.com  (gpan) wrote: 
>
> > Seems every file in my project has the wrong whitespace defaults. I'd 
> > like to change all of them without having to choose 'Normalize 
> > Options' for each one individually. 
>
> There's no way to batch this operation, but you could: 
>
> -   use "Normalize Options" as needed; 
>
> -   install an EditorConfig file to ensure consistent behavior; 
>
> -   quit the application and delete the "Document State.plist" file 
> which will discard all saved settings for all documents. (This is 
> the nuclear option.) 
>
> R. 
> -- 
> Rich Siegel Bare Bones Software, Inc. 
>   <
> http://www.barebones.com/> 
>
> Someday I'll look back on all this and laugh... until they sedate me. 
>
>

-- 
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: 
--- 
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: Can 'normalize options' be applied to multiple files (eg: all files in a project)?

2018-04-13 Thread Rich Siegel

On 4/13/18 at 1:27 PM, g...@me.com (gpan) wrote:


I tried the 'nuclear option' and it didn't seem to work.


In that case one of two things is likely:

1. You have an EditorConfig file in the project which is setting 
options for those files;


2. You have a language-specific preference which is setting 
Auto-Expand Tabs. (You can check the Languages preferences.)



What's an EditorConfig?


I suggest a Google search. :-)

R.
--
Rich Siegel Bare Bones Software, Inc.
  

Someday I'll look back on all this and laugh... until they 
sedate me.


--
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: 
--- 
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: Can 'normalize options' be applied to multiple files (eg: all files in a project)?

2018-04-13 Thread Patrick Woolsey

On 4/13/18 at 1:27 PM, g...@me.com (gpan) wrote:


What's an EditorConfig?


What Rich just said :-) or for background plus some 
BBEdit-specific details, please see the "EditorConfig" section 
on page 46-47 of the current user manual  (via Help -> User Manual).


Regards,

 Patrick Woolsey
==
Bare Bones Software, Inc. 




--
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: 
--- 
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: Text-files disappear again!

2018-04-13 Thread DavidWeinberger
At least some version of the Dropbox service have a recovery feature that 
lets you undelete recently deleted files. I hope yours does!

The "Deleted Files" link at Dropbox.com for my version is on the Files page.

David W.

On Thursday, April 12, 2018 at 8:31:23 AM UTC-4, Vlad Ghitulescu wrote:
>
> Hello!
>
> Today I discovered by chance that over 400 text-files of my 
> notes-Dropbox-folder were gone.
>
> I had this before (as mentioned in this thread 
>  first and 
> then again in this one 
>  in BBEdit 
> Talk), so I started analyzing what's happened.
>
> They were all deleted today.
>
> The only thing I did today was to write a new file in this folder with the 
> iOS app "*Taskmator*" using my iPhone. The file was there. Over 400 other 
> not anymore.
>
> The notes-folder contains text-files (TXT, MD, TASKPAPER) and is shared 
> only between my iMac and my iPhone.
>
> Fortunately enough I've learned a couple of lessons last time, so I had a 
> couple of recovery mechanisms in place:
>
>- my text-notes now live on my Mac a folder named TXT 
>- once in a while I synch manually this TXT-folder to the notes-folder 
>in Drobpox using the DeltaWalker app for file- and folder-comparation (I 
>still want to look at ChronSynch for this…) 
>- I have a Git-repository for the TXT-folder… 
>- … and another one for the notes-folder in Dropbox (there I 
>discovered that the files were missing). After copying the new file I've 
>created with the iPhone on my iMac I've discarded the local changes in 
>Tower and everything was fine again. 
>
> I don't know for sure, but I suspect Dropbox (and not Taskmator) to be the 
> culprit.
>
> What do you think?
>
> Regards,
> Vlad
>

-- 
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: 
--- 
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.