<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[bugs with macro and plugins]]></title><description><![CDATA[<p dir="auto">bugs with macro and plugins</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/14113/bugs-with-macro-and-plugins</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 06:03:18 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/14113.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 Jul 2017 13:32:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to bugs with macro and plugins on Mon, 10 Jul 2017 16:05:53 GMT]]></title><description><![CDATA[<p dir="auto">inscrease line indent 2-4<br />
split lines<br />
descrease line indet 2-4<br />
^(.<em>?)$\s+?^(?=.</em>^\1$)    null<br />
2017 (\d+:\d+)                 17<br />
subscribe .+$                      null<br />
(^.{1,30}$)\R                       \1<br />
\r\r\n                                      \n<br />
^                                                 spaces\1<br />
i create macro and solved more problems</p>
]]></description><link>https://community.notepad-plus-plus.org/post/25503</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/25503</guid><dc:creator><![CDATA[unwanted]]></dc:creator><pubDate>Mon, 10 Jul 2017 16:05:53 GMT</pubDate></item><item><title><![CDATA[Reply to bugs with macro and plugins on Mon, 10 Jul 2017 12:30:37 GMT]]></title><description><![CDATA[<p dir="auto">Main problems of your regular expression<br />
(. {1,40}) (\ h + \ R? | \ R) REPLACE = \ 1 \ r \ n <a href="Https://notepad-plus-plus.org/community/topic/10642/how-do-i-get-the-file-to-wrap-the-line-at-78-characters/5" rel="nofollow ugc">link text</a></p>
<p dir="auto">1 the first line of the text is broken normally, but the counter does not end and if between 1 and 2 there is a small big line is not broken there<br />
Where it is necessary and most likely in half. Even for {1.40}, it matters not to mention big ones.</p>
<p dir="auto">Ie I need to use a more clever scheme for large strings.<br />
Or break every large line by adding the constraints ^ $ leaving the smaller lines the same.</p>
<p dir="auto">If we use eg 1-100 (. {1,100}) (\ h + \ R? | \ R) for example, we get (this is only an approximate comparison)</p>
<p dir="auto">Text text text text text text text text text text text text text text (long line more)<br />
Text text text (small line of the expression will count and it together with the next one)<br />
Text text text text text text text text text text text text</p>
<p dir="auto">We get at the output</p>
<p dir="auto">Text text text text text text<br />
Text text text text text text<br />
Text text text<br />
Text text text<br />
Text text text text text text text text text</p>
<hr />
<p dir="auto">If you use a limited breakdown for each line, then only large lines are broken which is much better<br />
That is, to break only those lines that are larger than a certain size and which are more or less evenly broken<br />
Correct formatting of the text is quite difficult to take into account a lot, I will go out for a long time to look for the right solution.<br />
As you can see, there are small lines and they have to be sent back by connecting the previous line, but the problem is<br />
Most likely such a new line will be more than the required size. And again have to apply formatting.<br />
But it is unclear whether this new formatting will create new problems.</p>
<p dir="auto">Text text text text text text<br />
Text text text text text text<br />
Text text text<br />
Text text text text text<br />
Text text text text text</p>
]]></description><link>https://community.notepad-plus-plus.org/post/25498</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/25498</guid><dc:creator><![CDATA[unwanted]]></dc:creator><pubDate>Mon, 10 Jul 2017 12:30:37 GMT</pubDate></item><item><title><![CDATA[Reply to bugs with macro and plugins on Mon, 10 Jul 2017 10:03:41 GMT]]></title><description><![CDATA[<p dir="auto">Recently I also added a couple of regular expressions<br />
^ (. *?) $ \ S +? ^ (? =. * ^ \ 1 $) only works with: and new lines<br />
This regular expression removes duplicate lines<br />
But in some cases removes all text</p>
<p dir="auto">\ R \ r \ n replase \ n<br />
This regular expression removes two lines in a row</p>
]]></description><link>https://community.notepad-plus-plus.org/post/25496</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/25496</guid><dc:creator><![CDATA[unwanted]]></dc:creator><pubDate>Mon, 10 Jul 2017 10:03:41 GMT</pubDate></item><item><title><![CDATA[Reply to bugs with macro and plugins on Mon, 10 Jul 2017 07:10:41 GMT]]></title><description><![CDATA[<p dir="auto">Just in case the message was not received I leave a short message:</p>
<p dir="auto">A really specific text does not matter, since this regular expression should work with most texts.<br />
For example, the same news, books, articles, and much more. Therefore I send some samples:<br />
1 samples already processed by the current version of the regular expression (in bracketed explanations)<br />
2 more ideal version of which you want to achieve<br />
3 approximate processing scheme</p>
<p dir="auto">Option in 1 line will be very difficult to achieve. Then it is necessary as that to put forward indents<br />
It will also be difficult to unify the preprocessing of deleting small lines and formatting by size, but ideally still handling small<br />
Lines after formatting without breaking indentation.</p>
<p dir="auto">In addition, in any case, regular expressions will be added to the regular expression macro:<br />
For example, removing duplicate items and lines of type: (source: http: / address)</p>
<p dir="auto">The main task is the creation of a universal auto-test for most cases.<br />
preferenses normal ansi(unicode not used (big size of txt) an crlf<br />
Thank you for response.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/25495</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/25495</guid><dc:creator><![CDATA[unwanted]]></dc:creator><pubDate>Mon, 10 Jul 2017 07:10:41 GMT</pubDate></item><item><title><![CDATA[Reply to bugs with macro and plugins on Wed, 02 Jun 2021 22:13:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/unwanted" aria-label="Profile: unwanted">@<bdi>unwanted</bdi></a>,</p>
<p dir="auto">If you prefer, and, if your text, to be modified, is <strong>not</strong> either <strong>personal</strong> nor <strong>confidential</strong>, you could send me, an e-mail, with, as <strong>attached</strong> files, <strong>two</strong> files :</p>
<ul>
<li>
<p dir="auto">Your <strong>original</strong> text</p>
</li>
<li>
<p dir="auto">The <strong>expected</strong> text, after regex <strong>Search(es) / Replacement(s)</strong></p>
</li>
</ul>
<hr />
<p dir="auto">My e-mail address is :</p>
<p dir="auto">Just tell me what is your current <strong>encoding</strong> and the current <strong>End of Line</strong> characters ( Refer to the <strong>right</strong> part of the <strong>status bar</strong> ! )</p>
<p dir="auto">See you later,</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/25487</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/25487</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Wed, 02 Jun 2021 22:13:57 GMT</pubDate></item><item><title><![CDATA[Reply to bugs with macro and plugins on Sun, 09 Jul 2017 15:59:14 GMT]]></title><description><![CDATA[<p dir="auto">I more or less solved my problem with three regular expressions.<br />
(^. {1,30} $) \ R \ R the replacement of \ 1<br />
(. {40,112}) (\ h + \ R? | \ R) the replacement of \ 1 \ r \ n<br />
^ Replacement spaces\1</p>
]]></description><link>https://community.notepad-plus-plus.org/post/25481</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/25481</guid><dc:creator><![CDATA[unwanted]]></dc:creator><pubDate>Sun, 09 Jul 2017 15:59:14 GMT</pubDate></item><item><title><![CDATA[Reply to bugs with macro and plugins on Sun, 09 Jul 2017 14:31:38 GMT]]></title><description><![CDATA[<p dir="auto">I found a new problem: if I use a regular expression to solve problems<br />
Auto-transfer of strings.<br />
The main way is to use a regular expression<br />
Type. {30} (?! \ R) REPLACE $ 0 \ r \ n</p>
<p dir="auto">But for large sizes of type 100 it does not work so well.<br />
1: one line becomes long and the other is shorter<br />
2. short lines can not be processed in this way,<br />
Since they are less than the same 90. Thus, I do not see<br />
Normal solution of my problems through notepad ++</p>
<p dir="auto">It is possible if the regex editors supported tabs<br />
And otrytye tezstovogo file, I would not have written here.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/25479</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/25479</guid><dc:creator><![CDATA[unwanted]]></dc:creator><pubDate>Sun, 09 Jul 2017 14:31:38 GMT</pubDate></item><item><title><![CDATA[Reply to bugs with macro and plugins on Sun, 09 Jul 2017 13:53:01 GMT]]></title><description><![CDATA[<p dir="auto">[Unfortunately I can not send anywhere more than here, probably   the reason in the old browser because the drop-down list does not work.</p>
<p dir="auto">.1notepad 7.4.2: start and two messages uknkown exception<br />
.2The CustomizeToolbar plugin does not work<br />
.3 does not succeed in achieving the desired result via the macro:</p>
<p dir="auto">1 select all<br />
2 inscrease line indent (n number of spaces)<br />
3 split lines<br />
4 descreace line indent<br />
5 inscrease line indent<br />
Result: 2Xline indent (need 1xline indent, descrease line indent)</p>
<p dir="auto">.4However, I would like to use a more advanced macro using search<br />
1 select all<br />
2 inscrease line indent (n number of spaces)<br />
3 split lines<br />
4 replase regex find: (^. {1,30} $) \ R \ R replase: \ 1 (connects  small lines)<br />
4 descreace line indent<br />
5 inscrease line indent<br />
Result: 2Xline indent (need 1xline indent, descrease line indent)   replase regex not work in macro<br />
.5 the macro also does not work with the textfx plugin<br />
1 select all<br />
2 textfx edit rewrap text to (75) 190 via clipboard<br />
3 textfx split lines at clipboard character<br />
4 inscrease line indent (n number of spaces)<br />
Variations of this macro with replase regexp<br />
Result: nonreadable text</p>
<p dir="auto">Bottom line: all possible ways of formatted text alignment with a macro do not work<br />
The best third way through textfx<br />
It is very necessary to format a large number of text and it is better that lines less than 40 characters move either backwards or forward.</p>
<p dir="auto">I also wanted that notepad ++ received better support for regex and that you could use regex and in the line replace only a few characters of type \ 1 or \ n</p>
<p dir="auto">So it would be possible to solve the alignment problem completely through regex since not only the transfer of large 190 lines with the return of rows less than 40 but also the omission in front is necessary.</p>
<p dir="auto">If you know another solution to this problem, I ask<br />
Share. Solving this problem is important for me<br />
So I can not wait very long, it will write a program for faster formatting for my needs.<br />
Thanks if you can respond.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/25477</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/25477</guid><dc:creator><![CDATA[unwanted]]></dc:creator><pubDate>Sun, 09 Jul 2017 13:53:01 GMT</pubDate></item></channel></rss>