<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=""><div class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 17, 2020, at 5:33 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div 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 class=""><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://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ8Zax5i6w$" 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></div>----------- Please Consult the Following Before Posting -----------<br class="">TeX FAQ: <a href="https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ89r7SRf0$" class="">https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ89r7SRf0$</a> <br class="">List Reminders and Etiquette: <a href="https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ8QrtzZfE$" class="">https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ8QrtzZfE$</a> <br class="">List Archives: <a href="https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ83gNi63c$" class="">https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ83gNi63c$</a> <br class="">                <a href="https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ8oFDMyFs$" class="">https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ8oFDMyFs$</a> <br class="">TeX on Mac OS X Website: <a href="https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ8zot6LfE$" class="">https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ8zot6LfE$</a> <br class="">List Info: <a href="https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ8Zax5i6w$" class="">https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!Mih3wA!TmYjcfVgC7XceqlH--ECBZew63EkibBgVRR-Wcusjpw2Qp7Gb2b66dZ8Zax5i6w$</a> <br class=""></div></blockquote></div><br class=""></div></body></html>