Re: You Will Love This: Balthisar Tidy

2014-11-11 Thread Lee Hinde
I wasn't clear. That was a reference to the question about XML formatting,
not to the original question about html tidying.

On Mon, Nov 10, 2014 at 4:15 PM, WordWeaver777 wordweaver...@gmail.com
wrote:


  On Nov 11, 2014, at 10:06 AM, Lee Hinde leehi...@gmail.com wrote:
 
  Markup/Utilities/Format.. might work for you...

 Lee, as noted earlier, Markup/Utilities/Format only reformats an HTML
 document. It does not auto-correct the HTML code itself, which is what some
 of us are after, now that Tidy has been dropped from 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.


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


Using BBEdit as the 'Diff Tool' in Git Tower I can't turn on ignore-whitespace settings

2014-11-11 Thread Phillip Apley
Is there any way to change the default settings for BBEDit so that when it 
launches in as the Diff Tool or Merge Tool (compare-file mode) from Git 
Tower or other apps, it will ignore 
leading and trailing whitespace? When comparing from the 'Search' - 'Find 
Differences' menu there are checkboxes for these settings.
Once the diff is launched I don't see any way to change them and 
recalculate the diffs.

This could be managed with a preference, or global environment variable 
before the app launches, or ideally an option click on the 'recalculate' 
button, or a checkbox that can be clicked after the app is launched.

https://lh3.googleusercontent.com/-O0KHe9N2M2Y/VGJMtUl_LRI/ACk/Wed52vRRtHs/s1600/tmp.tiff
If there's a way to do this from the BBEdit command line tools API, it 
might be possible for me to intercept what Tower is doing to launch it, but 
I imagine that will be difficult and not survive upgrades.

This is an essential feature. Please let me know if there's a way to do it 
or if it can be added.

It would also be very valuable to have control over ignoring line ending 
differences (Unix/Mac; CR, LF, CRLF) in this context as well.
An alternative I've found is to use Kaleidoscope, which has a check box for 
this, but doesn't let you edit the files directly, so I'd have to go back 
and forth between BBEdit and Kaleidoscope, and it wouldn't work well.

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


Re: Using BBEdit as the 'Diff Tool' in Git Tower I can't turn on ignore-whitespace settings

2014-11-11 Thread Fletcher Sandbeck
It looks like Git Tower launches the diff tool through the command line and 
there are command line switches for these preferences.  What you'd do is create 
a shell script wrapper which takes the parameters that git sends to the diff 
tool and pass them to the bbdiff tool with the appropriate command line 
switches set.

http://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration 
http://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration

Usage:  bbdiff [options] FILE1 FILE2

   --case-sensitive
   --flatten-folders
   --help
   --ignore-curly-quotes
   --ignore-spaces
   --ignore-extra-spaces
   --ignore-leading-spaces
   --ignore-trailing-spaces
   --resume
   --reverse
   --short-version
   --show-identical-files
   --skip-shielded-folders
   --text-files-only
   --version
   --wait

[fletcher]

 On Nov 11, 2014, at 10:00 AM, Phillip Apley pap...@gmail.com wrote:
 
 Is there any way to change the default settings for BBEDit so that when it 
 launches in as the Diff Tool or Merge Tool (compare-file mode) from Git 
 Tower or other apps, it will ignore 
 leading and trailing whitespace? When comparing from the 'Search' - 'Find 
 Differences' menu there are checkboxes for these settings.
 Once the diff is launched I don't see any way to change them and recalculate 
 the diffs.
 
 This could be managed with a preference, or global environment variable 
 before the app launches, or ideally an option click on the 'recalculate' 
 button, or a checkbox that can be clicked after the app is launched.
 
  
 https://lh3.googleusercontent.com/-O0KHe9N2M2Y/VGJMtUl_LRI/ACk/Wed52vRRtHs/s1600/tmp.tiff
 If there's a way to do this from the BBEdit command line tools API, it might 
 be possible for me to intercept what Tower is doing to launch it, but I 
 imagine that will be difficult and not survive upgrades.
 
 This is an essential feature. Please let me know if there's a way to do it or 
 if it can be added.
 
 It would also be very valuable to have control over ignoring line ending 
 differences (Unix/Mac; CR, LF, CRLF) in this context as well.
 An alternative I've found is to use Kaleidoscope, which has a check box for 
 this, but doesn't let you edit the files directly, so I'd have to go back and 
 forth between BBEdit and Kaleidoscope, and it wouldn't work well.
 
 
 -- 
 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 
 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 
 mailto:bbedit+unsubscr...@googlegroups.com.
 To post to this group, send email to bbedit@googlegroups.com 
 mailto:bbedit@googlegroups.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.


Re: You Will Love This: Balthisar Tidy

2014-11-11 Thread Tom Robinson
Nice thought Lee, but that command's only for formatting HTML documents, not 
XML.


 On 2014-11-11, at 13:06, Lee Hinde leehi...@gmail.com wrote:
 
 Markup/Utilities/Format.. might work for you...

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