On Thu, Apr 16, 2009 at 1:51 AM, Tony Mechelynck
<[email protected]> wrote:
>
> On 15/04/09 21:57, Ingo Karkat wrote:
>>
>> On 15-Apr-09 21:41, _Lone wrote:
>>> On Apr 15, 11:36 am, Gary Johnson<[email protected]>  wrote:
>>>> On 2009-04-15, _Lone wrote:
>>>>> On Apr 14, 8:50 pm, Nico Weber<[email protected]>  wrote:
>>>>>>> To set 'guidecolumn' you can do
>>>>>>> :set guidecolumn=N
>>>>>>> where N is the column. If N is 0 then guidecolumn is turned off. It is
>>>>>>> highly unlikely that a user would want the guidecolumn at column 0 but
>>>>>>> the syntax seems odd so let me know if you think there can be a better
>>>>>>> way to do this.
>>>>>>> The patch still needs to be tested thorougly and tweaked but I wanted
>>>>>>> to get a general idea, if you guys think it has chances of getting
>>>>>>> accepted.
>>>>>> Could you add that in gui mode a 1px line is drawn to the right of
>>>>>> guidecolumn instead of highlighting the column's background? That'd be
>>>>>> awesome (I believe there is a line drawing function already that is
>>>>>> used to draw the squiggly lines below misspelled words in gui mode).
>>>>>> Nico
>>>>> If the patch gets accepted then I can try to add what you suggested,
>>>>> if other people agree on varying behavior between console and gui
>>>>> builds.
>>>> I haven't tried the patch yet, but if I understand correctly, it
>>>> would normally be used to highlight the column to the right of the
>>>> 'textwidth' column, so that text would be within the guidecolumn
>>>> only if the line was too long.  If guidecolumn is used that way,
>>>> then I think the 1px line should be drawn on the left side of the
>>>> guidecolumn, not on the right side.
>>>>
>>>> Regards,
>>>> Gary- Hide quoted text -
>>>>
>>>> - Show quoted text -
>>>
>>> I agree, if it is decided that in GUI build, drawing a 1px line is
>>> better than highlighting the column background then the line should be
>>> on the left edge of the specified column. However I feel that the
>>> behavior should be same for CUI and GUI builds i.e. highlight the
>>> column background but I am flexible to what others agree upon.
>>
>> +1 for the 1px line in the GUI. If 'guifg' is used for the line, and 'guibg' 
>> for
>> the column, one can have one or the other (or even both).
>>
>> Of course, feature parity between GUI and console is very desirable, but why
>> ignore the superior capabilities of the GUI? The "squiggly line" undercurl
>> highlighting (used for spell checking) is only available in the GUI, too, 
>> but it
>> is very helpful, and similar to what other editors do. IMO, the same applies 
>> to
>> the guidecolumn.
>>
>> -- regards, ingo
>
> Hm, I haven't read the patch, but maybe define a new gui=column (or
> something) for highlighting, which would add a one- or two-pixel
> highlighting at the left edge of the current character cell in guisp
> highlighting? So the colour of the guidecolumn could be set by something
> like
>
>     hi GuideColumn term=reverse ctermbg=yellow gui=column guisp=red
>
> ?
>

+1 for adding it as a highlighting option, that way it can be used for
other purposes (e.g., table columns), not just for guidecolumn.
-- 
Hari

>
> Best regards,
> Tony.
> --
> hundred-and-one symptoms of being an internet addict:
> 5. You find yourself brainstorming for new subjects to search.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui