Steps to reproduce the problem:
1. Code
2. Use Beautifier
3. Use Beautifier again
The line with the comment moves to the right.
1. Code
Code:
function get_value() return number is
tmp_value number;
begin
tmp_value := 'X';
case
when tmp_value = 'X' then
tmp_value := 'Y';
/*when tmp_value = 'Y' then
tmp_value := 'X';*/
end case;
return null;
end;
2. Use Beautifier
Code:
function get_value() return number is
tmp_value number;
begin
tmp_value := 'X';
case
when tmp_value = 'X' then
tmp_value := 'Y';
/*when tmp_value = 'Y' then
tmp_value := 'X';*/
end case;
return null;
end;
3. Use Beautifier again
Code:
function get_value() return number is
tmp_value number;
begin
tmp_value := 'X';
case
when tmp_value = 'X' then
tmp_value := 'Y';
/*when tmp_value = 'Y' then
tmp_value := 'X';*/
end case;
return null;
end;
The line with the comment moves to the right.