Changes between Initial Version and Version 1 of Ticket #4433


Ignore:
Timestamp:
01/20/23 15:32:17 (2 years ago)
Author:
andrew_b
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4433

    • Property Milestone changed from 4.8.29 to Future Releases
  • Ticket #4433 – Description

    initial v1  
    11in editdraw.c 
    22 
     3{{{ 
    34/* If non-printable - use black background */ 
    45color = (style & MOD_ABNORMAL) != 0 ? 0 : p->style >> 16; 
    5  
     6}}} 
    67 
    78So, if, for example, file contains CR (^M)  i see a lot of ^M on black background tearing apart all my nice colors and poking my eyes out.  
     
    1112 
    1213skin.h 
     14{{{ 
    1315#define EDITOR_ABNORMAL_COLOR     mc_skin_color__cache[50] 
    1416#define MC_SKIN_COLOR_CACHE_COUNT 68 
    1517and renumbered cache array 
    16  
     18}}} 
    1719colors.c 
     20{{{ 
    1821EDITOR_ABNORMAL_COLOR = mc_skin_color_get ("editor", "editabnormal"); 
    19  
     22}}} 
    2023editdraw.c  
    21  
     24{{{ 
    2225        else 
    2326            //tty_setcolor (EDITOR_ABNORMAL_COLOR); 
    2427            tty_lowlevel_setcolor (color); 
    25  
     28}}} 
    2629But it does not work somehow. Compiles fine but just does not work. Abnormal chars just show as normal. 
    2730