Recent Posts

Pages: [1] 2 3 ... 10
1
SlickEdit® / C# Tuples not recognized
« Last post by jporkkahtc on Today at 09:46:05 pm »
Given the sample code, Slick doesn't "see" the function GetThings():

Code: [Select]
    public class TupleTest
    {
        public (string string1, string string2) TwoStrings()
        {
            return ("thing1", "thingTwo");
        }

        public void GetThings()
        {
            string a;
            string b;

            (a, b) = TwoStrings();

            var x = TwoStrings();
            Console.WriteLine($"1 = {x.string1}, 2 = {x.string2}");
            var (c, d) = TwoStrings();

            Console.WriteLine($"c = {c}, d = {d}");
        }
    }

2
SlickEdit® / Issues with macOS Catalina
« Last post by arnaldo on Today at 03:49:23 pm »
I'm running the latest macOS version (24.0.1.0) under macOS Catalina (10.15.2) and I'm having a hard time with drag-n-drop.

1-When SlickEdit starts without opening a file, I can't drag-n-drop a file to the interface. It will simply ignore the dropped file. If I open any file (like creating an empty one), I can then drag-n-dop "some files" (see bellow).

2-Any files that has a " " (blank, ASCII 0x20) in the filename or path name will cause an error like:

Error opening file: Path not found://Users/me/Destop/Test%20Folder/file.txt

Simply renaming the folder from "Test Folder" to "Test_Folder" (that is removing the blank) allows drag-n-drop to work.

I've been using past versions of SlickEdit for years on macOS and I've never seen this, only when I upgraded to the lastest version.

Has anyone seen this problem? Any ideas?

Thanks in advance,

Arnaldo.

3
Cool.  I love it when I can kill two stones with one bird.
4
SlickEdit® / Re: 24.0.1 - C/C++ wrong indent
« Last post by patrick on Today at 02:31:47 pm »
I can reproduce that, that does look like a parsing bug.  I'll take a look at it.  Thanks for the report.
5
SlickEdit® / Re: codehelp_complete no longer expands global aliases
« Last post by jcelle on Today at 08:55:27 am »
Hi Dennis and thanks for taking the time to answer me.
As posted in the other 'Syntax Coloring: Library Symbol found and colored everywhere' thread, it looks like having odd PHP¨identifier start set of characters was the cause of sudden dysfunction of alias expansion.
There is a link between these features.
Have a nice day.
6
Gee ! It works ! I think I don't really understand what is the scope of 'Identifier' : I thought that it would be my variables only (hence starting with $ in php).
Many thanks for pointing out Dennis.
And guess what, it seems to solve my global alias completion problem (you also replied to it).
Many many thanks again.
7
SlickEdit® / 24.0.1 - C/C++ wrong indent
« Last post by frankfoxy on Today at 03:05:38 am »
For following code block:
Code: [Select]
std::vector<std::pair<std::string, int>> regex_color
{
    {"\\`", 1 }, //
    {"\\'", 1},
    {"\\\"", 2},
};

if " 'if' statement blocks " option in C/C++->formatting->Edit profile -> Brace Style -> Statement Styles is set to "Same line".
The code block is indented as follows with all std::pair initializing lines concatenated into one line.
Code: [Select]
std::vector<std::pair<std::string, int>> regex_color
{
    {"\\`", 1 },{"\\'", 1},{"\\\"", 2}, //
};

If the option is set to "Next line", the indent is working as expected.
Because this code block has no relation with 'if' , I guess it's a bug, please help to check.
8
SlickEdit® / Re: Repeated stack when reloading a file
« Last post by rowbearto on January 20, 2020, 09:51:02 pm »
I doubt I ran out of memory, there is 8GB and unlimited swap space. If it does happen again I will check how much SE is using.
9
SlickEdit® / Re: Repeated stack when reloading a file
« Last post by Dan on January 20, 2020, 09:47:59 pm »
It looks like the diff DLL got a bad structure, but I'm not sure why.  Running out of memory would be a possibility.  Is there any chance this could have happened?  If it happens again, could you bring up a monitor tool and see how much memory the editor is using?
10
SlickEdit® / Re: Repeated stack when reloading a file
« Last post by rowbearto on January 20, 2020, 09:00:34 pm »
I had a number of log files open in SE for a few days, this was a dedicated instance of SE running, I wasn't editing any code here, just looking at log files (at one of our other testing sites). At the time of the crash there were 7 files opened, 6 log files (.txt) and 1 python file.

In the past few days I was able to "reload modified files" no problem. There is a different log file generated each day. It was opened over the weekend, I may have last checked it Saturday, then I went back to it today to look at the most recent data. One of the opened log files probably had modifications since I last used SE and I got the "reload..." popup and clicked to reload, that is when I got the repeated stack. I had to kill SE. Once I restarted SE I have not had this issue since, it was a one time thing (so far). I think I had reloaded that same file previously, hard to remember.
Pages: [1] 2 3 ... 10