raccoon commented on a Page, r_highlightspam.mrc Highlight Spam Blocker  -  Apr 28, 2010

The newer constricted CODE boxes are my fault. I asked Hawkee to make them fixed-width, which made code text 1.5x as wide (avg). BUT I like Goochie's solution, so I wrote a script for it. You'll want to download AutoHotkey from www.autohotkey.com and run this...

; Hawkee Underscore, written in AutoHotkey.

:*:~hawk:: ; 28-Apr-2010 by Raccoon
  VarSetCapacity(xstr,512,95)
  xlen := 0
  Loop, Parse, Clipboard, `n, `r
    if (ylen := StrLen(A_LoopField)) > xlen
      xlen := ylen
  StringLeft, xstr, xstr, % xlen+2
  clipsave := ClipboardAll
  Clipboard := "

" Clipboard "rn" xstr "

`r`n"
  SendInput, ^v
  Clipboard := clipsave
  Return
_____________________________________________________________

Save that to foobar.ahk and double-click.
When you want to paste a CODE section, type ~hawk instead.

It was inspired by a hack Goochie discovered -- creating a solid line of underscores in order to expand the width of a CODE block beyond the constraints of the comments boundary.

Example:

                                                     _..----.._                                   
                                                    ]_.--._____[                                  
                                                  ___|'--'__..|--._                               
                              __               """    ;            :                              
                            ()_ """"---...__.'""!":  /    ___       :                             
                               """---...__\]..__] | /    [ 0 ]      :                             
                                          """!--./ /      """        :                            
                                   __  ...._____;""'.__________..--..:_                           
                                  /  !"''''''!''''''''''|''''/' ' ' ' \"--..__  __..              
                                 /  /.--.    |          |  .'          \' ' '.""--.{'.            
             _...__            >=7 //.-.:    |          |.'             \ ._.__  ' '""'.          
          .-' /    """"----..../ "">==7-.....:______    |                \| |  "";.;-"> \         
          """";           __.."   .--"/"""""----...."""""----.....H_______\_!....'----""""]       
        _..---|._ __..--""       _!.-=_.            """""""""""""""                   ;"""        
       /   .-";-.'--...___     ." .-""; ';""-""-...^..__...-v.^___,  ,__v.__..--^"--""-v.^v,      
      ;   ;   |'.         """-/ ./;  ;   ;\P.        ;   ;        """"____;  ;.--""""// '""<,     
      ;   ;   | 1            ;  ;  '.: .'  ;<   ___.-'._.'------""""""____'..'.--""";;'  o ';     
      '.   \__:/__           ;  ;--""()_   ;'  /___ .-" ____---""""""" __.._ __._   '>.,  ,/;     
        \   \    /"""<--...__;  '_.-'/; ""; ;.'.'  "-..'    "-.      /"/    `__. '.   "---";      
         '.  'v ; ;     ;;    \  \ .'  \ ; ////    _.-" "-._   ;    : ;   .-'__ '. ;   .^".'      
           '.  '; '.   .'/     '. `-.__.' /;;;   .o__.---.__o. ;    : ;   '"";;""' ;v^" .^        
             '-. '-.___.'<__v.^,v'.  '-.-' ;|:   '    :      ` ;v^v^'.'.    .;'.__/_..-'          
                '-...__.___...---""'-.   '-'.;\     'WW\     .'_____..>."^"-""""""""    fsc       
                                      '--..__ '"._..'  '"-;;"""                                   
                                             """---'""""""                                        
____________________________________________________________________________________________________
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.