Author Topic: RC1: Color coding profile 'Perl': Invalid type 'bqbackslash'  (Read 2784 times)

texasaggie97

  • Community Member
  • Posts: 33
  • Hero Points: 4
RC1: Color coding profile 'Perl': Invalid type 'bqbackslash'
« on: September 27, 2017, 04:25:20 PM »
I am seeing this issue in RC1 even though there was another topic that said it was fixed in Beta2.

I'm not sure what additional information would be useful.

TKasparek

  • Senior Community Member
  • Posts: 246
  • Hero Points: 29
Re: RC1: Color coding profile 'Perl': Invalid type 'bqbackslash'
« Reply #1 on: September 27, 2017, 06:35:08 PM »
I keep seeing this one as well when retagging my project.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: RC1: Color coding profile 'Perl': Invalid type 'bqbackslash'
« Reply #2 on: September 27, 2017, 08:23:56 PM »
While this has already been fixed, if you continue using the old incorrectly upgraded config you will still get the same error.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: RC1: Color coding profile 'Perl': Invalid type 'bqbackslash'
« Reply #3 on: September 28, 2017, 01:53:37 PM »
I got a similar error today in RC1: "Color coding profile 'D': Invalid type 'bqmultiline' when creating a new project and adding files that had python (.py), Perl (*.pm) and cfg (*.cfg) files.

Is this the same issue?

Clark: When you said:

Quote
if you continue using the old incorrectly upgraded config you will still get the same error.

How do I fix my config to get rid of this issue?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: RC1: Color coding profile 'Perl': Invalid type 'bqbackslash'
« Reply #4 on: September 28, 2017, 02:02:45 PM »
Either edit your user.cfg.xml and remove that style word, save it, and say yes to the update dialog.

The other way is to exit SlickEdit, delete your 22.0.0 config, and start v22 again to upgrade from your old config.

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: RC1: Color coding profile 'Perl': Invalid type 'bqbackslash'
« Reply #5 on: September 28, 2017, 04:50:33 PM »
Does that mean I remove the only the <styles v="..."> line below or something else?

Code: [Select]
<colorcoding_profiles n="colorcoding_profiles.D" version="2">
<styles v="idparenfunction eof doxygen javadoc embeddedasm bqmultiline"/>
<p n="doc_comment,/++">
<attrs end="+/" flags="multiline" nest_start="/++" nest_end="+/"/>
</p>
<p n="string,'">
<attrs end="'" flags="terminate" escape_char="\"/>
</p>
<p n='string,"'>
<attrs end='"([cwd]|)' flags="end_regex multiline" escape_char="\"/>
</p>
<p n='string,r"'>
<attrs end='"([cwd]|)' flags="end_regex multiline"/>
</p>
<p n='string,x"'>
<attrs end='"([cwd]|)' flags="end_regex multiline"/>
</p>
<p n='string,q{"'>
<attrs end='\}"([cwd]|)' nest_start="{" nest_end="}" flags="end_regex multiline"/>
</p>
<p n='string,q["'>
<attrs end='\]"([cwd]|)' nest_start="[" nest_end="]" flags="end_regex multiline"/>
</p>
<p n='string,q&lt;"'>
<attrs end='&gt;"([cwd]|)' nest_start="&lt;" nest_end="&gt;" flags="end_regex multiline"/>
</p>
<p n='string,q("'>
<attrs end='\)"([cwd]|)' nest_start="(" nest_end=")" flags="end_regex multiline"/>
</p>
<p n="string,q{">
<attrs end="\}([cwd]|)" nest_start="{" nest_end="}" flags="end_regex multiline embedded_end_is_token" embedded_lexer="D"/>
</p>
<p n='string,q"{[^\p{L}_{\[&lt;(\r\n \xb\xc\t]}'>
<attrs end='#0"([cwd]|)' flags="regex end_regex multiline"/>
</p>
<p n='string,q"{[\p{L}_][\p{L}\p{N}_]@$}'>
<attrs end='^#0"([cwd]|)' flags="regex end_regex multiline embedded_lexer_prefix_match" embedded_lexer="#0"/>
</p>
<p n="string,`">
<attrs end="`" flags="multiline"/>
</p>
<mn_flags v="digit_int digit_float dot_float zerox_p_float zerox_hex zerob_binary"/>
<mn_int_suffixes v="\cL \cu \cU \cLu \cLU \cuL \cUL \ci"/>
<mn_float_suffixes v="f \cL \cfi \cFi \cLi \ci"/>
<mn_digit_separator_char v="_"/>
</colorcoding_profiles>

Thanks,
Rob

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: RC1: Color coding profile 'Perl': Invalid type 'bqbackslash'
« Reply #6 on: September 28, 2017, 05:03:45 PM »
Just remove the word bqmultiline in the attribute value string. The rest should be fine.