Recent Posts

Pages: [1] 2 3 ... 10
1
SlickEdit® / Re: SE cannot find the python interpreter
« Last post by patrick on Today at 04:02:16 pm »
I checked in a fix that should be in the next hotfix so that shouldn't be possible anymore.  And change the error dialog so the path is quoted, in case any other non-printable characters manage to get in there.   Thanks for the report.
2
SlickEdit® / Re: Java Live Errors refuses to recognize some classes
« Last post by Dan on Today at 02:52:27 pm »
Sorry I misunderstood your meaning; sounds like you've got this.

++heroPoints for proper use of a semi-colon - in English ;D.
3
SlickEdit® / Re: How to delete a file from the SlickEdit editor window?
« Last post by Dan on Today at 02:49:38 pm »
delete_file is a built-in, a function you can only call from Slick-C.  Commands can be called from the SlickEdit command line, or bound to a key.

If you want to delete a file without leaving SlickEdit, you can click on the SlickEdit command line and the bottom of the editor (or press ESC in most emulations), and type "del <filename>".

If you want to delete a file from a macro, it's a bit more involved, but I can help you with that too.
4
Even when I issue the "delete-file" command, I get the "Unknown command" error. Here are the steps to reproduce on Windows 10 and the latest version of SlickEdit:
- Create a new file called "testfile.txt" and save it to the disk.
- Hit "Escape" to activate the command window at the bottom
- Type "delete-file" and then "Enter"
- Get "Unknown command" error

Please let me know if you are able to actually a delete a file using this command.
5
SlickEdit® / Re: How to delete a file from the SlickEdit editor window?
« Last post by hs2 on Today at 08:24:37 am »
You have to use minus “-“ instead of underscores ‘_’ when invoking the command from command line.
Or let the command completion kick in by just start typing ‘delete’ and hit TAB or just wait a bit.
6
SlickEdit® / Re: Go To Reference in Editor Window please
« Last post by Graeme on Today at 03:04:07 am »
You can probably buy a maintenance contract at any time.
7
SlickEdit® / Re: Java Live Errors refuses to recognize some classes
« Last post by rygaard on January 30, 2023, 11:54:13 pm »
Cool.

Sorry I misunderstood your meaning; sounds like you've got this.
8
SlickEdit® / Re: How to delete a file from the SlickEdit editor window?
« Last post by TheHumbleOne on January 30, 2023, 10:00:14 pm »
How exactly do I run this "delete_file" command?

I tried the following: When the file is open, I press "Escape" key, then type "delete_file" command. I get the "Unknown command" error. There must be another way of running this command; I just don't know what it is.
9
SlickEdit® / Re: How to delete a file from the SlickEdit editor window?
« Last post by Dan on January 30, 2023, 08:57:19 pm »
SlickEdit has a delete_file built in.  You can look at the help on it.  It returns a status, you want to pay attention to it because if the file was still open, you may not be able to delete it.
10
SlickEdit® / Re: How to use a user-defined macro
« Last post by Dan on January 30, 2023, 08:56:12 pm »
I want to know how I can load and use a user-defined macro. I looked into the documentation, but did not find a clear step-by-step method of using a user-defined macro.

Background: I needed a way to get character count for a file. When I did a Google search, I came across this solution that was posted by another SlickEdit user:
https://community.slickedit.com/index.php?topic=5820.0
I see the code that this user has posted; the question is, how do I use the code? Specifically, I need to know:

- What should be the file extension for the user-defined code?
.e

- Where to save this file?
Anywhere you like, but add that path to the VSLICKPATH environment variable so that it will be reloaded the next time you open the editor.


- How to use this code?
  • Go to Macro>Load module... and choose that file
  • Run the count_selchars macro on the SlickEdit command line, or bind it to a key
Pages: [1] 2 3 ... 10