Re: [code] [textadept] highlighting dates and hours

From: Pascal <patatetom.att.gmail.com>
Date: Fri, 7 Apr 2017 14:06:50 +0200

note that if I press [Ctrl][Alt][*] in test.ko.xml, which is calling
recursiv_folding function, all is ok...

so it's weird, called since the event events.FILE_OPENED, the function
doesn't fold the code, and called from the keyboard (just after file
opened), it does...

2017-04-07 8:52 GMT+02:00 Pascal <patatetom.att.gmail.com>:

> the init.lua file sent yesterday contained a small error that totally
> blocks TA :
>
> --.att.line120
> if buffer:search_in_target('google||yahoo|facebook|twitter') == -1 then
> break end
>
> so, with this corrected one saved in /tmp/, if I run TA like this :
>
> $ textadept -v
> Textadept 9.3
> Copyright © 2007-2017 Mitchell. See LICENSE.
> http://foicica.com/textadept
>
> $ textadept -n -u /tmp/ /tmp/test.ko.xml /tmp/test.ok.xml
>
>
> ​
> TA come from https://aur.archlinux.org/packages/textadept.
>
> regards, lacsaP.
>
> 2017-04-07 4:55 GMT+02:00 Mitchell <m.att.foicica.com>:
>
>> Hi,
>>
>> On Wed, 5 Apr 2017, Pascal wrote:
>>
>> with
>>>
>>> and without statement
>>>
>>> ​
>>>
>>> 2017-04-05 11:26 GMT+02:00 Pascal <patatetom.att.gmail.com>:
>>>
>>> strangely, after a few file openings, it appears that if a xml file
>>>> starts with a statement like <?xml version="1.0" encoding="UTF-8"?>, the
>>>> for loop doesn't fold the content... (and when I remove it, all is ok)
>>>> after
>>>> checking, my xml file is "well formed".
>>>>
>>>
>> Unfortunately, I am not able to reproduce this. If you can send me your
>> sample xml file along with something a bit more explicit than "after a few
>> file openings", I may be able to figure out what's going on.
>>
>> Cheers,
>> Mitchell
>
>
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
2017.04.07-08.49.06.png 2017.04.07-08.49.12.png
Received on Fri 07 Apr 2017 - 08:06:50 EDT

This archive was generated by hypermail 2.2.0 : Sat 08 Apr 2017 - 06:49:41 EDT