Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
SlickEdit® / Re: Error Opening File Stack
« Last post by Clark on March 18, 2024, 07:34:12 PM »
A block got swapped out and SlickEdit couldn't read it back in. SlickEdit sometimes uses the original file as a read only spill file. It's possible that an unmodified block was swapped out and SlickEdit couldn't read it back from the original file. Is there a process writing to this file?

If there is a process writing to this file, you can do this:

* Go to Tools>Options>File Options>Load
* Set "Load partially for large files (use file locking)" to OFF
42
Features and/or Improvements / Re: AI code generator integrations
« Last post by richmaes on March 18, 2024, 04:04:37 PM »
I'd like to see this feature supported in some fashion. I can't speak to which integration is preferred, but my company just started some rollout training with Gitlab DUO and think there something happening with Copilot already. 
43
SlickEdit® / Error Opening File Stack
« Last post by rowbearto on March 18, 2024, 03:02:03 PM »
I occasionally get 'Error Opening File'. Last time it happened when I tried to load a new Slickedit workspace. Other times not when loading SlickEdit workspace, and clicking "OK" after "Error Opening File" brought up another Error Open File, and that kept happening and I had to kill SlickEdit.

I am using linux x64 qt5 version 28.0.1. I am using special binary: se_28000100_linux64qt5-2024-02-21-rte.tar.gz
I have hotfix 14 installed.

Here is a stack that I got with 'Error Opening File' when trying to open a new workspace:

Code: [Select]
stack[2024-03-18T10:55:41Z] Slick-C STACK TRACE ******************************
stack[2024-03-18T10:55:41Z] Created on 3/18/2024 at 10:55:41 (42 ms)
stack[2024-03-18T10:55:41Z] SlickEdit Pro Version 28.0.1.0 Copyright 1988-2023 SlickEdit Inc.
stack[2024-03-18T10:55:41Z] Edit module and type "st -f <offset>" to get the
stack[2024-03-18T10:55:41Z] run-time error position
stack[2024-03-18T10:55:41Z]
stack[2024-03-18T10:55:41Z] error code=-33
stack[2024-03-18T10:55:41Z] Error reading file
stack[2024-03-18T10:55:41Z]
stack[2024-03-18T10:55:41Z]main.ex 1615 save_pos(,)  p_window_id: 191  p_object: OI_EDITOR  p_name: _shellEditor  form_name: _tbshell_form
stack[2024-03-18T10:55:41Z]files.ex 25858 files:GetFilePositionFromWindow()  p_window_id: 5  p_object: OI_FORM  p_name:
stack[2024-03-18T10:55:41Z]files.ex 25960 _add_filepos_info(/home/rbresali/v/git/rbresali-claslinx/src/pss/node/build_last.log)  p_window_id: 948  p_object: OI_EDITOR  p_name:
stack[2024-03-18T10:55:41Z]files.ex 24633 _save_all_filepos()  p_window_id: 948  p_object: OI_EDITOR  p_name:
stack[2024-03-18T10:55:41Z]restore.ex 10201 save_window_config(1,500,63,0,/home/rbresali/v/git/rbresali-claslinx/slickopt/,0,0,0)  p_window_id: 948  p_object: OI_EDITOR  p_name:
stack[2024-03-18T10:55:41Z]wkspace.ex 16221 _workspace_save_state(0)  p_window_id: 948  p_object: OI_EDITOR  p_name:
stack[2024-03-18T10:55:41Z]wkspace.ex 16393 workspace_close()  p_window_id: 948  p_object: OI_EDITOR  p_name:
stack[2024-03-18T10:55:41Z]wkspace.ex 7822 workspace_open(/home/rbresali/v/git/dwdmbuild-dwdm_1830-integration-240317/slickopt/devtest.vpw,,,1,1,1,-1)  p_window_id: 948  p_object: OI_EDITOR  p_name:
44
SlickEdit® / Re: C++ local variable missed
« Last post by Clark on March 16, 2024, 11:07:11 PM »
Fixed for 28.0.2
45
SlickEdit® / Re: Python tab/backtab in diff editor [PATCH]
« Last post by Clark on March 16, 2024, 12:31:43 AM »
Thanks. We will add this to our hot fixes
46
SlickEdit® / Re: C++ local variable missed
« Last post by Clark on March 16, 2024, 12:31:26 AM »
Thanks. We will look into this.
47
SlickEdit® / Python tab/backtab in diff editor [PATCH]
« Last post by Dennis on March 15, 2024, 09:08:04 PM »
Code: [Select]
diff -urN /opt/slickedit-pro2023-v2801/macros/diffedit.e ~/.slickedit/28.0.1/diffedit.e
--- /opt/slickedit-pro2023-v2801/macros/diffedit.e 2024-01-23 10:31:44.867577788 -0500
+++ ~/.slickedit/28.0.1/diffedit.e 2024-03-15 17:02:28.606699943 -0400
@@ -59,6 +59,7 @@
 #import "pmatch.e"
 #import "project.e"
 #import "projutil.e"
+#import "python.e"
 #import "recmacro.e"
 #import "saveload.e"
 #import "search.e"
@@ -117,7 +118,9 @@
 static void diff_copy_to_clipboard();
 static void diff_copy_word();
 static void diff_move_text_tab();
+static void diff_move_text_backtab();
 static void diff_ctab();
+static void diff_python_tab();
 static void diff_cut_end_line();
 static void diff_cut_word();
 static void diff_delete_word();
@@ -327,10 +330,11 @@
    "mou-extend-selection"      => { true, diff_mou_extend_selection },
    "mou-select-word"           => { true, diff_mou_select_word },
    "mou-select-line"           => { true, diff_mou_select_line },
-   "move-text-tab"             => { false, diff_move_text_tab },
    "vi-move-text-tab"          => { false, diff_move_text_tab },
    "move-text-tab"             => { false, diff_move_text_tab },
+   "move-text-backtab"         => { false, diff_move_text_backtab },
    "ctab"                      => { false, diff_ctab },
+   "python-tab"                => { false, diff_python_tab },
    "cbacktab"                  => { false, diff_cbacktab },
    "brief-tab"                 => { false, diff_move_text_tab },
    "smarttab"                  => { false, diff_ctab },
@@ -4941,6 +4945,25 @@
    AddUndoNothing(otherwid);
 }
 
+static void diff_move_text_backtab()
+{
+   wid := p_window_id;
+   if (NoSaveLine(p_line)) {
+      _beep();
+      return;
+   }
+   otherwid := 0;
+   if (wid==_ctlfile1) {
+      otherwid=_ctlfile2;
+   }else{
+      otherwid=_ctlfile1;
+   }
+   _ctlfile1._undo('S');
+   _ctlfile2._undo('S');
+   wid.move_text_backtab();
+   AddUndoNothing(otherwid);
+}
+
 static void diff_ctab()
 {
    otherwid := 0;
@@ -4956,6 +4979,22 @@
    AddUndoNothing(otherwid);
    otherwid.p_col=wid.p_col;
 }
+
+static void diff_python_tab()
+{
+   otherwid := 0;
+   wid := p_window_id;
+   if (wid==_ctlfile1) {
+      otherwid=_ctlfile2;
+   }else{
+      otherwid=_ctlfile1;
+   }
+   _ctlfile1._undo('S');
+   _ctlfile2._undo('S');
+   wid.python_tab();
+   AddUndoNothing(otherwid);
+   otherwid.p_col=wid.p_col;
+}
 
 static void diff_cbacktab()
 {
48
SlickEdit® / C++ local variable missed
« Last post by Dennis on March 15, 2024, 01:08:09 PM »
The problem is triggered when a constructor argument contains braces.
Code: [Select]
void foobar()
{
  const Transform worldHVacuum(Translation(1234.0, 5678.0, 0.0), EulerAngles{0.0, 0.0, 1.1});
}
49
SlickEdit® / Re: vsdiff font size
« Last post by Clark on March 14, 2024, 08:36:55 PM »
Unix/macOS will pretty much always use the "Diff Editor Unicode Source Windows" font
50
SlickEdit® / Re: vsdiff font size
« Last post by astromme on March 14, 2024, 07:08:00 PM »
I edited these and it made no difference.  I also restarted Slickedit with these values and it made no difference.

I tried invoking from within Slickedit as well as from bash and they're still my small "original" font.

Playing some more, it looks like when I select "Default Fixed Font (DejaVu Sans Mono)" it ignores my Size selection, but when I select "DejaVu Sans Mono" it respects it.

Which selection is used for the Multi-File Diff window?

Also, is there a programmatic way to modify those Diff Editor fields in the Fonts window through a macro? 
Pages: 1 ... 3 4 [5] 6 7 ... 10