Re: Incorrect "reply" highlighting in MicroEd

2020-06-21 Thread Thomas Fernandez
Hello Andrew,

On Sun, 21 Jun 2020 18:24:58 +0930 GMT (21-Jun-20, 15:54 +0700 GMT),
Andrew Savchenko wrote:

> Hello Thomas,

> Sunday, June 21, 2020, 12:43:06 PM, you wrote:

>> Mine is set to 10 characters (so your example above is not
>> highlighted), but you set it to any value that makes sense to you.

> Works. Shouldn't there be a more robust detection of the reply symbol?

> Currently TheBat seems to use: (.*>.*|^>.*)
> How about this instead: (^>\s.*|\w>.*)

> Latter would prevent detection of ">" somewhere mid-line.

I don't think so. Sometimes we want first and last name (i.e.
including a blank) before the quote indicator. Otherwise you can just
set the limit to zero and it won't be detected mid-line.

--


Cheers,
Thomas.

Message reply created with The Bat! Version 9.2.0.4 (BETA) (64-bit)
under Windows 10.0 Build 18362



Current version is 9.1.18 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re[2]: Incorrect "reply" highlighting in MicroEd

2020-06-21 Thread Andrew Savchenko
Hello Thomas,

Sunday, June 21, 2020, 12:43:06 PM, you wrote:

> Mine is set to 10 characters (so your example above is not
> highlighted), but you set it to any value that makes sense to you.

Works. Shouldn't there be a more robust detection of the reply symbol?

Currently TheBat seems to use: (.*>.*|^>.*)
How about this instead: (^>\s.*|\w>.*)

Latter would prevent detection of ">" somewhere mid-line.


CC'ing Stefan.


-- 
Regards,
A



Current version is 9.1.18 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Incorrect "reply" highlighting in MicroEd

2020-06-21 Thread Marck Pearlstone

On 21 June 2020 at 04:00 Andrew Savchenko wrote and made these points

AS> This string of text is incorrectly highlighted as reply:

AS> ```
AS> X.X. Some text ">" that must not be highlighted as the reply... 
AS> ```

Ah  -  that  old  chestnut.  This  one has been reported before but is
actually  covered in Options. See the "Quote name limit" option in the
Preferences..  View  /  editor..  Editor.  This  value states how many
characters  are  used  to  denote a quote prefix. Reduce this value to
reduce the effect. It is set to 20 on my system.

-- 
Cheers -- Marck D Pearlstone -- List moderator and fellow end user
TB! v9.2.0.4 (BETA) on Windows 10.0.18363 

pgpj0KLIPFNSv.pgp
Description: PGP signature

Current version is 9.1.18 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Incorrect "reply" highlighting in MicroEd

2020-06-20 Thread Thomas Fernandez
Hello Andrew,

On Sun, 21 Jun 2020 12:30:46 +0930 GMT (21-Jun-20, 10:00 +0700 GMT),
Andrew Savchenko wrote:

> This string of text is incorrectly highlighted as reply:

> ```
> X.X. Some text ">" that must not be highlighted as the reply...
> ```

> Before I create bug report, could someone please confirm?
> Screenshot attached.

Go to: Options / Preferences / Viewer/Editor Editor Preferences /
General / Quote Name Limit.

Mine is set to 10 characters (so your example above is not
highlighted), but you set it to any value that makes sense to you.

--


Cheers,
Thomas.

Message reply created with The Bat! Version 9.2.0.4 (BETA) (64-bit)
under Windows 10.0 Build 18362



Current version is 9.1.18 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Incorrect "reply" highlighting in MicroEd

2020-06-20 Thread Andrew Savchenko
Hello,

This string of text is incorrectly highlighted as reply:

```
X.X. Some text ">" that must not be highlighted as the reply... 
```

Before I create bug report, could someone please confirm?
Screenshot attached.


-- 
v9.1.18 x64 on Windows 10 18363
Current version is 9.1.18 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html