[bug #19651] x selection in editor


                 Summary: x selection in editor
                 Project: GNU Midnight Commander
            Submitted by: me4mc
            Submitted on: Saturday 04/21/2007 at 10:25
                Category: Editor
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.6.1
        Operating System: GNU/Hurd



i managed to find another x problem:
when you are in the *term and select some text all newlines are lost and
filled up with spaces.

i managed to find the problem in the 
editordraw.c in print_to_widget
the hline draws blanks at the rest of the line.

i understand that behaviour but there is a possibility to do this right:

SLtt_set_color (DEFAULT_COLOR_INDEX, NULL, "default", "default");

however, i tryed to create that behaviour and failed because i cannot set the
default color index (0) to blue/white.
the problem is that users with other color settings (me: black/green) could
be angy if i hardcode blue/white

the default state is black/white - looks ugly but works.

if you could suggest how to properly set the fg/bg 

should i create a new function in src/color.h?

any suggestions?


Reply to this item at:


  Message sent via/by Savannah

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]