TextLint question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

TextLint question

Alexandre Bergel
hi!

I am now using TextLint over my submissions. Each time I modify the text, the rest of the errors have a wrong text index. It makes it difficult to use.
I do an accept, to save my .tex and run the rules again, but it takes time...

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: TextLint question

Fabrizio Perin-3
Hi Alex,
well the text index is calculated when you run the rules so of course if you touch the text than the indexes are not precise anymore. When you accept the text is saved and the rules are recalculated so also the positions of the errors are calculated again.

Unfortunately i don't have a nice solution for this problem. One way could be:
- when you save instead running the rules you just save the modified document.
- than all the indexes of all the errors are update with the difference in size between the old and the new document.

I don't know if this is going to be faster than simply re-run the rules. Anyway I will give it a try and i will let you know.

Cheers,

Fabrizio


2010/12/15 Alexandre Bergel <[hidden email]>
hi!

I am now using TextLint over my submissions. Each time I modify the text, the rest of the errors have a wrong text index. It makes it difficult to use.
I do an accept, to save my .tex and run the rules again, but it takes time...

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







Reply | Threaded
Open this post in threaded view
|

Re: TextLint question

Alexandre Bergel
A cheap solution is to adjust the indexes according to the number of backslash key and non-backslash key that one press.

Alexandre


On 15 Dec 2010, at 13:35, Fabrizio Perin wrote:

> Hi Alex,
> well the text index is calculated when you run the rules so of course if you touch the text than the indexes are not precise anymore. When you accept the text is saved and the rules are recalculated so also the positions of the errors are calculated again.
>
> Unfortunately i don't have a nice solution for this problem. One way could be:
> - when you save instead running the rules you just save the modified document.
> - than all the indexes of all the errors are update with the difference in size between the old and the new document.
>
> I don't know if this is going to be faster than simply re-run the rules. Anyway I will give it a try and i will let you know.
>
> Cheers,
>
> Fabrizio
>
>
> 2010/12/15 Alexandre Bergel <[hidden email]>
> hi!
>
> I am now using TextLint over my submissions. Each time I modify the text, the rest of the errors have a wrong text index. It makes it difficult to use.
> I do an accept, to save my .tex and run the rules again, but it takes time...
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: TextLint question

Lukas Renggli
Yes, but unfortunately that's not easy to do with Glamour, AFAIK.

Lukas

On 15 December 2010 18:00, Alexandre Bergel <[hidden email]> wrote:

> A cheap solution is to adjust the indexes according to the number of backslash key and non-backslash key that one press.
>
> Alexandre
>
>
> On 15 Dec 2010, at 13:35, Fabrizio Perin wrote:
>
>> Hi Alex,
>> well the text index is calculated when you run the rules so of course if you touch the text than the indexes are not precise anymore. When you accept the text is saved and the rules are recalculated so also the positions of the errors are calculated again.
>>
>> Unfortunately i don't have a nice solution for this problem. One way could be:
>> - when you save instead running the rules you just save the modified document.
>> - than all the indexes of all the errors are update with the difference in size between the old and the new document.
>>
>> I don't know if this is going to be faster than simply re-run the rules. Anyway I will give it a try and i will let you know.
>>
>> Cheers,
>>
>> Fabrizio
>>
>>
>> 2010/12/15 Alexandre Bergel <[hidden email]>
>> hi!
>>
>> I am now using TextLint over my submissions. Each time I modify the text, the rest of the errors have a wrong text index. It makes it difficult to use.
>> I do an accept, to save my .tex and run the rules again, but it takes time...
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
>



--
Lukas Renggli
www.lukas-renggli.ch

Reply | Threaded
Open this post in threaded view
|

Re: TextLint question

Alexandre Bergel
Just to end this thread on a positive note: TextLint is really amazing and incredibly useful.

Cheers,
Alexandre


On 15 Dec 2010, at 15:53, Lukas Renggli wrote:

> Yes, but unfortunately that's not easy to do with Glamour, AFAIK.
>
> Lukas
>
> On 15 December 2010 18:00, Alexandre Bergel <[hidden email]> wrote:
>> A cheap solution is to adjust the indexes according to the number of backslash key and non-backslash key that one press.
>>
>> Alexandre
>>
>>
>> On 15 Dec 2010, at 13:35, Fabrizio Perin wrote:
>>
>>> Hi Alex,
>>> well the text index is calculated when you run the rules so of course if you touch the text than the indexes are not precise anymore. When you accept the text is saved and the rules are recalculated so also the positions of the errors are calculated again.
>>>
>>> Unfortunately i don't have a nice solution for this problem. One way could be:
>>> - when you save instead running the rules you just save the modified document.
>>> - than all the indexes of all the errors are update with the difference in size between the old and the new document.
>>>
>>> I don't know if this is going to be faster than simply re-run the rules. Anyway I will give it a try and i will let you know.
>>>
>>> Cheers,
>>>
>>> Fabrizio
>>>
>>>
>>> 2010/12/15 Alexandre Bergel <[hidden email]>
>>> hi!
>>>
>>> I am now using TextLint over my submissions. Each time I modify the text, the rest of the errors have a wrong text index. It makes it difficult to use.
>>> I do an accept, to save my .tex and run the rules again, but it takes time...
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>>
>
>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.