Author Topic: Beta3: Slick stack in Java beautifier  (Read 1055 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1787
  • Hero Points: 174
  • Text
Beta3: Slick stack in Java beautifier
« on: September 11, 2014, 11:13:29 pm »
At the end of an existing Java file, I typed

extern "C" {<ENTER>


When I typed "{", slick inserted the matching "}".
When I hit ENTER, slick got the following stack:


(Yes, I know this is not valid Java :-) )



---------------------------
Slick-C Error
---------------------------
Invalid number argument


file=beautifier.ex offset=17579
---------------------------
OK   
---------------------------



 
 Invalid number argument beautifier.ex 17579 beaut_should_indent_extern(java)   p_window_id: 1455   p_object: OI_EDITOR   p_name: c.ex 13584 c:c_indent_col2(1,0)   p_window_id: 1455   p_object: OI_EDITOR   p_name: c.ex 9033 _c_expand_enter()   p_window_id: 1455   p_object: OI_EDITOR   p_name: c.ex 951 c_enter()   p_window_id: 1455   p_object: OI_EDITOR   p_name: java.ex 186 java_enter()   p_window_id: 1455   p_object: OI_EDITOR   p_name: 

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1095
  • Hero Points: 100
Re: Beta3: Slick stack in Java beautifier
« Reply #1 on: September 12, 2014, 12:20:17 am »
Good catch.  I'll take a look at it.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1095
  • Hero Points: 100
Re: Beta3: Slick stack in Java beautifier
« Reply #2 on: September 12, 2014, 01:31:33 pm »
Fixed this.  Thanks for the report.