Recent Posts

Pages: [1] 2 3 ... 10
1
SlickEdit® / Re: All my buffers were shown as deleted by SE
« Last post by rjpontefract on June 03, 2023, 12:27:28 am »
Were they on a remote file system and/or a VPN?
No they were all in a local directory on the local SSD.   

If anything like this ever actually happened, you could go to File > Backup History Browser.
This actually saved me when it happened as the file I tried to save first ended up being 0 bytes on disk.

I'm hoping it doesn't happen again, but, if it does, is there any diagnostic info I can get for you?
2
SlickEdit® / Re: Any support for docker?
« Last post by pbrightly on June 02, 2023, 03:14:02 pm »
Excellent question. :) I'm an odd case, so though I spend my life running a Windows laptop, I spend most of my time doing things in Ubuntu (WSL & about 54 servers). SlickEdit (my Windows apps) and WSL-Ubuntu share a file system. (I use WSL1 for this reason.)
And, I don't care if Windows commands can be run.  But I'm new to this as well, so...guess I should read up.

This is an excellent description of the format of the Dockerfile: https://docs.docker.com/engine/reference/builder/#format

And reading down... yep, I see Windows examples, complete with discussion of customizing escape character '\' to something else. :( Guess that kills my wish for bash color.  Maybe not?  I'd be totally OK to colorize RUN and CMD instructions as bash, but there's probably a bunch of Windows out there.
3
SlickEdit® / Re: All my buffers were shown as deleted by SE
« Last post by Dan on June 02, 2023, 01:39:53 pm »
If anything like this ever actually happened, you could go to File > Backup History Browser.  This would show you all of the files that are available in Backup History.

If you have more than one configuration, you would only see the backups for your current configuration, unless you have a global backup directory path setup.
4
SlickEdit® / Re: All my buffers were shown as deleted by SE
« Last post by Clark on June 02, 2023, 01:14:59 pm »
I haven't seen anything like this. The only time I've had problems saving files is when my backup directory is set to a directory which can't be written to.
5
SlickEdit® / Re: Any support for docker?
« Last post by Clark on June 02, 2023, 01:10:32 pm »
Is the text after RUN always bash syntax or can this vary based on some default shell. Is it way different on Windows?.
6
SlickEdit® / Re: All my buffers were shown as deleted by SE
« Last post by Dan on June 02, 2023, 01:06:33 pm »
Were they on a remote file system and/or a VPN?
7
SlickEdit® / Re: How does SE find the Windows Documents folder?
« Last post by ebbe on June 02, 2023, 06:14:53 am »
This roughly the code SlickEdit uses to get the config path on Windows:

Thanks. It's working now.

Code: [Select]
      //Due to customers having problems with the above default location due to OneDrive I/O
      // v28 will do this instead:
      hrstatus = SHGetSpecialFolderLocation(0,CSIDL_LOCAL_APPDATA,&pidl);
      if( hrstatus==NOERROR ) {
         wchar_t tempsw[CMMAXFILENAME];
          hrstatus=SHGetPathFromIDListW(pidl,tempsw);

          // Now append SlickEdit\28.0.0\

          // End up with something like this:
          // C:\Users\<username>\AppData\Local\SlickEdit\28.0.0\>


And thanks for the heads-up. I'll keep that in mind.

It may be easier to use the "-sc <configpath>" option to force SlickEdit to use a configuration directory you specify.

I'll take a look at that. However, my current solution works for me.
8
SlickEdit® / All my buffers were shown as deleted by SE
« Last post by rjpontefract on June 02, 2023, 03:31:08 am »
I was using SE 27.0.2 on Windows 10 with multiple buffers open.  I came to save the file I was working on and a dialog said that it can't save it.  Following that, another dialog box asking to close or save deleted files was presented with a list of all open buffers.  The list of buffers showed all files in red.  Trying to quit SE resulted in being told it could not save preferences. All of the files were on a local disk and were still present and correct according to file manager.  I killed SE from task manager and it restarted OK. 

Any ideas as to what happened?
9
SlickEdit® / Re: Any support for docker?
« Last post by pbrightly on June 01, 2023, 11:43:26 pm »
Attached image shows bash under ENV and RUN sections (and the color I get now):
10
SlickEdit® / Re: Any support for docker?
« Last post by pbrightly on June 01, 2023, 11:39:13 pm »
Thanks, Clark!  I had already added a Docker language mode just to add a few keywords and get "something". But I had trouble getting comments working in the UI (seemed ignored).

I've added all the following keywords to to your config and it looks really nice.

<p n="k,ARG"/>
<p n="k,CMD"/>
<p n="k,COPY"/>
<p n="k,ENV"/>
<p n="k,EXPOSE"/>
<p n="k,FROM"/>
<p n="k,LABEL"/>
<p n="k,RUN"/>
<p n="k,WORKDIR"/>


What would be spectacular is if I could get bash coloring for anything under RUN or ENV keywords.  But this is excellent as is, just giving me comments and keywords at least. :)
Pages: [1] 2 3 ... 10