Recent Posts

Pages: [1] 2 3 ... 10
1
SlickEdit® / Re: issues rendering single quotation marks
« Last post by adadad on Today at 09:56:17 AM »
Also shows ? instead of the quotes. Note that even if it worked, BOM at the beginning of files aren't really a thing outside Windows to my knowledge.
2
SlickEdit® / Swapping branches and "modified files"
« Last post by astromme on December 05, 2023, 07:50:42 PM »
Using git - when I swap branches from a shell then click back to SlickEdit, I get prompted to reload modified files, then to save deleted files.  Since I know I'm going to swap back to my original branch shortly, I don't save the delete files, I just escape from that dialog.  I don't want to save those files, as then git will report them as new files - I just want them to exist in SlickEdit buffers.  When I swap back to the original branch and click back to SlickEdit, I select all the files in the reload modified files dialog.

When I list_buffers, the files that I was prompted to delete are all red/marked as modified.  I need to go to each file and Undo once, then they aren't modified.

Is there a way to make SlickEdit see that they're identical so I don't have to go to each buffer?  Or am I doing something else wrong?
3
SlickEdit® / Re: issues rendering single quotation marks
« Last post by Clark on December 05, 2023, 04:03:24 PM »
Try opening the attached file in SlickEdit and let me know if the quote characters display correctly.

The "Auto Unicode Utf-8" and "Auto Unicode2 Utf-8" encodings are broken. I've added a hot fix for this (separate issue than your original issue).
4
SlickEdit® / issues rendering single quotation marks
« Last post by adadad on December 05, 2023, 03:45:41 PM »
Hi,

In the main editor and in the build output windows, left and right single quotation marks https://www.cogsci.ed.ac.uk/~richard/utf-8.cgi?input=2018&mode=hex and https://www.cogsci.ed.ac.uk/~richard/utf-8.cgi?input=2019&mode=hex don't display correctly. Compare the output of my normal shell:
Code: [Select]
redacted.c:2331:56: error: expected ‘}’ before ‘;’ token
 2331 |         .clk_name               = "aaaa_aaa_aaaa_aaaaa";
      |                                                        ^
redacted.c:2317:66: note: to match this ‘{’
 2317 | static const struct my_info aaaa_info = {
      |                                         ^

with SlickEdit 28 build output window:

Code: [Select]
redacted.c:2331:56: error: expected ?}? before ?;? token
 2331 |         .clk_name               = "aaaa_aaa_aaaa_aaaaa";
      |                                                        ^
redacted.c:2317:66: note: to match this ?{?
 2317 | static const struct my_info aaaa_info = {
      |                                         ^

This is just standard GCC error output on Linux/Qt5.

Code: [Select]
$ echo -n ‘ | hexdump -C
00000000  e2 80 98                                          |...|
$ echo -n ’ | hexdump -C
00000000  e2 80 99                                          |...|

Note that source code windows have the same problem with those characters and the same ? are shown instead of the actual characters. I've cycled through all the monospaced fonts SlickEdit offers in Tools->Options->Appearance->Fonts for Unicode Source Windows to no avail.

Interestingly, the tool tip for the error displays them correctly when hovering over the error marker in the source code pane (but it's using a different, proportional font for those). I can copy/paste the text into my shell and it renders correctly, which makes it obvious that it's just a rendering / font issue in SE.

I've also tried to File->Reload with Encoding->'Auto Unicode Utf-8', which didn't help. Instead, it's impossible now to save the file, due to the following two errors / stack traces:
Code: [Select]
Slick-C STACK TRACE ******************************
 Created on 12/5/2023 at 15:36:43 (283 ms)
 SlickEdit Pro Version 28.0.0.6 Copyright 1988-2023 SlickEdit Inc.
 Edit module and type "st -f <offset>" to get the
 run-time error position

 error code=-3015
 Invalid argument

vsvcs.dll 0x0x1f49d00 DSCreateDelta(redacted.c,0,)  p_window_id: 660  p_object: OI_EDITOR  p_name:
saveload.ex 60 save_file(redacted.c,-O +DD -Z -ZR -E +SM +fenddefaults ,)
  p_window_id: 660
  p_object: OI_EDITOR
  p_name:
files.ex 8747 save(,8,)  p_window_id: 660  p_object: OI_EDITOR  p_name:
and
Code: [Select]
Slick-C STACK TRACE ******************************
 Created on 12/5/2023 at 15:39:16 (102 ms)
 SlickEdit Pro Version 28.0.0.6 Copyright 1988-2023 SlickEdit Inc.
 Edit module and type "st -f <offset>" to get the
 run-time error position

 error code=-3009
 Invalid number argument

vsvcs.dll 0x0x1f49d00 DSCreateDelta(,0,0)  p_window_id: 660  p_object: OI_EDITOR  p_name:

It's also not possible to open that file anymore (nothing happens). I had to exit SlickEdit and remove the EncodingSetByUser="21" tag from ~/.slickedit/28.0.0/perfile.xml for this file to make it work again.
5
SlickEdit® / Re: Is there a Qt5 build for Raspberry Pi?
« Last post by b on December 05, 2023, 02:03:28 AM »
Thanks for the explanation and clarification.
6
SlickEdit® / Re: Code Fold/Unfold
« Last post by Clark on December 04, 2023, 11:33:52 PM »
Set "Selective Display, Expand/collapse" to "Expand on single click".

Tools>Options>Keyboard and Mouse>Advance>Selective Display, Expand/collapsed
7
SlickEdit® / Re: Is there a Qt5 build for Raspberry Pi?
« Last post by Clark on December 04, 2023, 11:28:50 PM »
The Linux Arm 32-bit (Raspberry Pi ) installer is only available with Qt4

The Linux Arm 64-bit (aarch64/Raspberry Pi 64) is only available with Qt5

We were never able to get Qt5 to work as a 32-bit build on any platform.

We also have not been able to get Qt 5 working on macOS. However, since the SlickEdit text editor makes raw macOS calls to display text, firacode fonts work on macOS.
8
SlickEdit® / Code Fold/Unfold
« Last post by gkl on December 04, 2023, 11:27:54 PM »
Dear All,

I am new to SlickEdit and I have found the following code for folding/unfolding code blocks:
_command void hs2_plusminus() name_info(',' VSARG2_READ_ONLY|VSARG2_REQUIRES_EDITORCTL)
{
   int pm = _lineflags() & (PLUSBITMAP_LF|MINUSBITMAP_LF);
   if ( !pm )
   {
      if (select_active()) hide_selection();
      else                 hide_code_block();
   }
   else plusminus();
}

Could someone point me to the right direction for binding it to a single mouse click on the left margin (next to the line numbers) and make it available for all file types?

Regards,
George
9
SlickEdit® / Is there a Qt5 build for Raspberry Pi?
« Last post by b on December 04, 2023, 09:54:12 PM »
I may be off, but I've noticed that the glyphs provided/used by FiraCode font did not work on Linux installations with Qt4 (coincidence?).  That is, it worked wonderfully on my Mac, I tested on Windows (which I noticed is Qt5), but was failing on both my x64 Ubuntu Linux as well as on my Raspberry Pi.   I installed the Qt5 build for Linux and it worked (thus my inference it may be Qt that is the issue).
10
SlickEdit® / Re: Slickedit 28 UI freezes (due to tagging?)
« Last post by PaulElliott on December 04, 2023, 12:25:35 PM »
Hm. Ok, I did a clean reinstall, and for the minute it seems usable. It seemed usable before however, until I left the application and then came back to it, so will keep this updated. Either way there is something a bit weird going on.
Pages: [1] 2 3 ... 10