Author Topic: Issue with Current line and build window  (Read 2955 times)

asandler

  • Senior Community Member
  • Posts: 303
  • Hero Points: 27
Issue with Current line and build window
« on: October 20, 2017, 12:36:06 PM »
I think it has always been like that, but I am checking it in version 22 on Linux Ubuntu 64bit.

I configured SE to show "current line" in C/C++ programs. I made current line to be slightly darker than regular text because that's how I like it. I also want to see special characters, specifically "Tab chars" and "Spaces" in C/C++. Normally I don't want to see control characters, unless I have something selected. To make it so, I changed Control Character's foreground color to be same as background color. However if I do that, I see control characters in current line. To fix that I also made Current Line's foreground color to be same as background color. This works well because, presumably, SE applies coloring rules after applying current line rules. So, C/C++ code looks great. There is one exception. SE applies same rules to Build window and I don't see text in current line anymore. It looks like it applies View settings from C/C++ to Build window and I think this is where it's wrong. This is also conceptually wrong because I use different programming languages in current project. So, what rules apply to Build window?

So, to recap:

1. Enable Current line and Control Characters (Tab chars and Spaces) for C/C++.
2. Change Control Character's and Current Line's foreground color to be same as background color.
3. C/C++ code looks good. Build Window looks bad. I didn't check, but I think Output window will have same problem as well.

Can you please fix it?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Issue with Current line and build window
« Reply #1 on: October 20, 2017, 10:40:53 PM »
For some reason, I can't follow how you've changed your colors. Please post your user.cfg.xml. Thanks

asandler

  • Senior Community Member
  • Posts: 303
  • Hero Points: 27
Re: Issue with Current line and build window
« Reply #2 on: October 21, 2017, 12:20:45 AM »
Here we go.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Issue with Current line and build window
« Reply #3 on: October 21, 2017, 12:40:02 AM »
Plain text mode has the same problem as the build window if you turn on color current line with your color options. Thanks for posting your color settings. I definitely needed them.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Issue with Current line and build window
« Reply #4 on: October 25, 2017, 05:32:19 PM »
Try downloading this fix for vsapi.dll. You need 22.0.0.9 not 22.0.0.8

http://support.slickedit.com/Outbound/2200/vsapi_22000009_color_change.dll

Backup your vsapi.dll and replace it with this one. Please let me know how this works for you.

The color settings you are using are very interesting and useful. I suspect other users will want to do the same.

asandler

  • Senior Community Member
  • Posts: 303
  • Hero Points: 27
Re: Issue with Current line and build window
« Reply #5 on: October 25, 2017, 05:54:08 PM »
Sorry, I am on Linux.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Issue with Current line and build window
« Reply #6 on: October 25, 2017, 06:18:16 PM »
No problem. We will build one soon. Probably tomorrow.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Issue with Current line and build window
« Reply #7 on: October 25, 2017, 08:55:10 PM »
Try downloading this fix for vs_exe for linux64. You need 22.0.0.9 not 22.0.0.8

http://support.slickedit.com/Outbound/2200/vs_exe_22000009_color_change.bin

Backup your vs_exe and replace it with this one. Please let me know how this works for you.

asandler

  • Senior Community Member
  • Posts: 303
  • Hero Points: 27
Re: Issue with Current line and build window
« Reply #8 on: October 26, 2017, 02:09:38 AM »
It works great. Not sure what you did, but that's exactly how I wanted it. Build window highlights current line and all text is clearly visible. Thanks.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Issue with Current line and build window
« Reply #9 on: October 26, 2017, 03:41:41 AM »
Glad it works!