Hi, block selection behaves well, except for strings inside ( ) and some cases of multi-line strings
Do you think my settings are flawed, or is it working that way at your place, too?
Switch to SQL language highlighting. PLSQL wordfile settings:
/Open Brace Strings = "("
/Close Brace Strings = ")"
/* Switch to C/C++ language highlighting, experience is the about the same: */
Do you think my settings are flawed, or is it working that way at your place, too?
Switch to SQL language highlighting. PLSQL wordfile settings:
/Open Brace Strings = "("
/Close Brace Strings = ")"
Code: Select all
select ((((( select max(123) as ctr_b_here_is_ok from dual ))))) as ok from dual
;
select 1 as not_ok from dual
where (dummy in ('ctr_b_over_following_comma_is_ok', 'ctrl+B inside string here selects block after this line'))
OR (dummy > (select max('ctr_b_left_or_right_from_this_string_is_ok') from dual))
;
select '
(((
((aaaaaaaa ''ctr_b_here_is_ok''))
)))' as klammerstring_ok from dual
;
select '(((
((aaaaaaaa ''ctr_b_here_selects_up_to_this_line_only_and_ignores_rest_of_file''))
)))
' as klammerstring_not_ok from dual
;
select '(((((aaaaaaaa ''ctrl+B inside string here selects block in following line, ok so'')))))' as klammerstr from dual
;
select ((((( ctr_b_here_is_ok))))) as ok from (select 1234 as ctr_b_here_is_ok from dual)
;
Code: Select all
{
{
s = "ctr_b_here_is_ok";
s = "sadf(asdf,asdf)ctr_b_here_is_ok_too";
s = "sadf{ asdf } ctr_b_here_is_ok_too";
}
}
{
f( "ctr_b_over_following_comma_is_ok", "ctrl+B inside string here selects block after this line");
g(ctr_b_here_is_ok, ctr_b_here_is_ok, ctr_b_here_is_ok)
h( "ctrl+B inside string here selects nothing
ctr_b_here_is_ok",
"ctrl+B inside string here selects nothing
()
bad
ctrl+B inside string here selects block after this line");
s = "ctr_b_here_is_ok";
c = 'a'; // ok
n = ((a+ctr_b_here_is_ok)*(c+d))/2;
s = "ctr_b_here_is_ok";n = ((a+ctr_b_here_is_ok)*(ctr_b_here_is_ok+d))/2;
c = 'a'; n = ((a+ctr_b_here_is_ok)*(c+d))/2;
}
Regards from Vienna