<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">On 17 May2020, at 3:53 PM, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">On May 17, 2020, at 2:36 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:<br class=""><br class="">It’s worth saying three things for this procedure:<br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>(a) This method is possible only when using the OgreKit Find Panel.<br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>(b) It does not work as I’d expect if there are trailing blanks in one of the block’s lines, as it leaves those unwanted blanks there.<br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>(c) [of course] one also has to check the “Selection” option of the Scope section in the OgreKit Find Panel.<br class=""><br class="">** It would still be very nice to have a TeXShop menu items, or at least a macro, to do this operation.<br class=""><br class="">Compare, for example, BBEdit, where after selecting a block of lines, one uses the Text > Prefix/Suffix Lines menu item and then just enters the desired prefix or suffix in the resulting pop-up window. (Albeit that suffers from the same trailing-blank issue.) I suspect other programmers’ text editors have similar built-in menu items or macros.<br class=""><br class=""><blockquote type="cite" class="">On 17 May2020, at 6:37 AM, Luis Sequeira <<a href="mailto:lfsequeira@gmail.com" class="">lfsequeira@gmail.com</a>> wrote:<br class=""><br class="">1) Select the block of text where you want to add the comment sign.<br class=""><br class="">2) Press Command-F to open the Find window<br class=""><br class="">3) Chech the box for "Regular Expressions"<br class=""> Make sure that you have selected Origin: "Top" and Scope: "Selection"<br class=""><br class=""> Type "$" (without quotes) in the search box<br class=""> Type "%" (without quotes) in the replace box<br class=""> Press Replace All<br class=""></blockquote><br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Howdy,</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">How I wish the Ogrekit find panel was fixed for Catalina, especially to get it to work properly in Dark Mode.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Take a look at the Cot Editor (available for free via the App Store). It has a beautiful regex ready Find Panel that works beautifully in Dark Mode. It would be wonderful is someone could get that to work in TeXShop. PS: the Cot Editor is Open Software written in Swift with freely available source code.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div></blockquote><blockquote type="cite" class=""><div class=""><a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">u/mailman/listinfo/macosx-tex</a></div></blockquote></div><div class=""><br class=""></div>Using the specified regexs in the OgreKit panel worked just fine.<div class=""><br class=""></div><div class="">Unfortunately, I never really learned regexs, so in any task requiring one I need explicit instructions on exactly what to do.<div class=""><br class=""></div><div class="">In TeXShop we already have a really easy-to-use menu item, plus associated keystroke shortcut, to comment a selected block of lines.</div><div class="">Given that defining multi-line commands is hardly unknown to TeXers, even non-experts like me, a corresponding menu command/shortcut to comment end of lines would be genuine convenience.</div><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;"> </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;"> </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;"> </span>Mobile (413)-427-5334<br class=""><br class="">
</div>
<br class=""></div></body></html>