Hi Felipe

Thanks for using Spyder and your interest in developing this feature. This 
work is already implemented in the following PR 
https://github.com/spyder-ide/spyder/pull/3512

Where we are decoupling the editor and making it truly language agnostic.

This will be available for Spyder 4.0 (hopefully by the end of Jully 2017)

Cheers

On Friday, 1 July 2016 10:27:43 UTC-4, Felipe Vieira wrote:
>
> Jitse,
>
> thanks for your help. I tried a lot of different approaches like creating 
> a new attribute (.column2) and duplicating every command related to 
> edge_line, creating a new class EdgeLine2 among other things. It looks like 
> the setting of new edge lines overrides the previous one.
>
> I stopped looking but may try it again some other time.
>
> : )
>
> On Tuesday, June 28, 2016 at 3:12:22 PM UTC-3, Jitse Niesen wrote:
>>
>> On Friday, 24 June 2016 22:11:39 UTC+1, Felipe Vieira wrote:
>>>
>>>
>>> I'm a long user of spyder and maybe it is time to go one step ahead. 
>>> Motivated by the line lenght of 72 for docstrings I would like to add the 
>>> possibility of a 2nd vertical line to spyder ('edge line').
>>> [...]
>>> Can any of you point me in the right direction? Is there a special 
>>> documentation for devs or just 'read the code'?
>>>
>>
>> Hello Felipe,
>>
>> There is no special documentation. I'm afraid you have to work with the 
>> code. 
>>
>> Where are you stuck? In case you haven't yet found it, the file you need 
>> to look at is spyderlib/widgets/sourcecode/codeeditor.py ; search for 
>> "EdgeLine" and "edge_line". I guess at first instance you should duplicate 
>> the code for creating an EdgeLine in the CodeEditor class in order to get a 
>> second line.
>>
>> Issues 3064 <https://github.com/spyder-ide/spyder/issues/3064> and 3069 
>> <https://github.com/spyder-ide/spyder/issues/3069> are related so you 
>> may also have a look at them.
>>
>> Good luck!
>> Jitse
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To post to this group, send email to spyderlib@googlegroups.com.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to