Recent Posts

Pages: [1] 2 3 ... 10
1
SlickEdit® / Re: Colors and Formating
« Last post by patrick on July 19, 2019, 09:16:53 pm »
Using your configuration, just typing in those examples in to a empty file c++ works for me.  Same with if and while statements, etc...  Config looks fine.

If I bring up a source file that has functions with the braces on the same line as the function declaration, then functions I add will have the braces on the same line, because adaptive formatting is enabled, and it's picking up on that file's style. So I'd say turn off adaptive formatting for the moment, since we don't want it interfering with the brace placement when we're trying to figure out what's going on. 

With adaptive formatting off, does this happen everywhere, or just in certain files?   Is there a small example file that does that you can share?   Hmm, also bring up a file you're having a problem with, and go to the Document menu to see if the right language mode is set.  (If it's C++, there should be a "C/C++ Options" entry in that menu).
2
SlickEdit® / Re: Colors and Formating
« Last post by SeeCwriter on July 19, 2019, 08:20:42 pm »
Turning on beautify while typing did solve the issue for a while. And it's still enabled. I haven't changed anything.
3
SlickEdit® / Re: Colors and Formating
« Last post by patrick on July 19, 2019, 05:13:03 pm »
I thought that turning on beautify while typing took care of that.  Or is there is difference I missed out on?

In any case, probably the easiest thing to do now is for you to post the user.cfg.xml from your config directory.  That way I can just run with your config and see what's going on.
4
SlickEdit® / Re: Colors and Formating
« Last post by SeeCwriter on July 19, 2019, 04:28:07 pm »
This was working at one time, but SE is back to ignoring my brace setting of putting open and closing braces on their own lines:
Code: [Select]
// This is what I want.
void func()
{
    // do stuff
}

// This is what I get
void func() {
    // do stuff
 }
It doesn't matter where the cursor is, at the end of the line or on the next line under the function, it always puts the open brace at the end of the function, or if, or else, or everything.

I've tried it with adaptive formatting enabled and disabled. There is a "Begin/end style" setting in adaptive formatting. I don't know what it does, but tried it both enabled and disabled, and it made no difference.

In the All Languages->Formatting section the "Begin/end style" is set to "next line", and the 2-checkboxes are unchecked.
In the Application Languages->C/C++->Formatting section, the Brace Style settings are set to "Next Line" for every statement option. And the Code Preview shows the braces in the correct position.
Yet, the braces are not put in the correct position. What else is there to do?
5
SlickEdit® / Re: Ada Procedure Not Showing up in Defs Window
« Last post by Clark on July 19, 2019, 11:58:55 am »
Reproduced. Looking into this.
6
SlickEdit® / Ada Procedure Not Showing up in Defs Window
« Last post by rgloden on July 19, 2019, 05:01:51 am »
The in the following Ada example, the package instantiation causes SlickEdit to not display the procedure "dump_all" in the Defs window.  Change package to packagex and SE works correctly (though it wouldn't be valid Ada).

procedure dump_all is
   package int_int_io is new Text_IO.Integer_IO(Integer);
begin -- dump_all
    null;
end dump_all;

SlickEdit Pro 2018 (v23.0.1.1 64-bit)
Windows and Linux
7
SlickEdit® / Re: Terminal colors in build output window
« Last post by texasaggie97 on July 18, 2019, 07:53:15 pm »
Maybe the new Microsoft Terminal and the new Console APIs they have added (at least for Windows) will help? https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/
8
SlickEdit® / Re: Colors and Formating
« Last post by SeeCwriter on July 18, 2019, 03:04:16 pm »
I will wait for the hotfix to see if it fixes the mouse-over issue.

As for compiler tag files, in all the years of using SE I've never created a compiler-specific tag file. And there are no files listed in the C/C++ Options > Tag Files... window to build/rebuild.
9
SlickEdit® / Re: Colors and Formating
« Last post by Dennis on July 17, 2019, 07:49:04 pm »
Your mouse-over issues may be solved by the forthcoming hot fix for the following:

https://community.slickedit.com/index.php/topic,16992.0.html
10
SlickEdit® / Re: garbage characters on build window
« Last post by itzhaki6 on July 17, 2019, 04:26:50 pm »
Hi,
Adding the -fno-color-diagnostics to the make file solved this issue for me.
Regarding the log output addition, it didn't make a difference.
Thanks a lot for the support!
Pages: [1] 2 3 ... 10