Author Topic: Slick-C stack on dismissing/saving the Diff after a refactor  (Read 756 times)

joecar

  • Senior Community Member
  • Posts: 251
  • Hero Points: 9
  • engineer/gearhead
Slick-C stack on dismissing/saving the Diff after a refactor
« on: September 18, 2019, 10:47:42 pm »
SlickEdit Pro 2019 (v24.0.0.4 64-bit)


After quick refactoring, when you dismiss/save the diff, you get the following popup:

Quote
---------------------------
Slick-C Error
---------------------------
Invalid argument

file=diffedit.ex offset=7139
---------------------------
OK   
---------------------------

and when you click OK you get a Slick-C Stack:

Quote
Invalid argument
diffedit.ex 7139 _diff_form._ctlfile1.on_destroy()   p_window_id: 569   p_object: OI_EDITOR   p_name: _ctlfile1
refactorgui.ex 14889 _refactor_results_form.ctlOK.lbutton_up()   p_window_id: 565   p_object: OI_FORM   p_name: _refactor_results_form
dlgeditv.ex 7262 show(-modal -xy _refactor_results_form,,,refactor,1,
   6:   
  • =C:\Users\jxxxxxxxxx\Documents\Workspace\BRB\brb-app\brb_app.git\brb_app\main.c

   7:   Refactoring results
   p_window_id: 471
   p_object: OI_EDITOR
   p_name:
refactor.ex 34636 showRefactoringModifications(1,Refactoring results)   p_window_id: 471   p_object: OI_EDITOR   p_name:
refactor.ex 6165 refactor_review_and_commit_transaction(1,0,Failed to rename symbol.,Quick rename pp => ppp,C:\Users\jxxxxxxxxx\Documents\Workspace\BRB\brb-app\brb_app.git\brb_app\main.c,
   6:   Refactoring results   7:   0
   p_window_id: 471
   p_object: OI_EDITOR
   p_name:
quickrefactor.ex 1818 refactor_quick_rename_symbol(
   1:   ._typename()=VS-TAG-BROWSE-INFO
   1:   .tag-database=
   1:   .category=
   1:   .class-name=
   1:   .member-name=pp
   1:   .qualified-name=
   1:   .type-name=lvar
   1:   .file-name=C:\Users\jxxxxxxxxx\Documents\Workspace\BRB\brb-app\brb_app.git\brb_app\main.c
   1:   .language=c
   1:   .line-no=327
   1:   .seekpos=10712
   1:   .name-line-no=327
   1:   .name-seekpos=10731
   1:   .scope-line-no=327
   1:   .scope-seekpos=10734
   1:   .end-line-no=327
   1:   .end-seekpos=10759
   1:   .column-no=0
   1:   .flags=0
   1:   .return-type=struct brb_params*
   1:   .arguments=
   1:   .exceptions=
   1:   .class-parents=
   1:   .template-args=
   1:   .doc-comments=
   1:   .type-id=17
   2:   <empty>
   3:   a-zA-Z_$ 0-9
   p_window_id: 471
   p_object: OI_EDITOR
   p_name:
quickrefactor.ex 255 refactor_quick_rename()   p_window_id: 471   p_object: OI_EDITOR   p_name:

« Last Edit: September 18, 2019, 10:49:25 pm by joecar »

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2393
  • Hero Points: 134
Re: Slick-C stack on dismissing/saving the Diff after a refactor
« Reply #1 on: September 19, 2019, 05:56:35 pm »
This is fixed in beta 4.