Public bug reported:

I'm using:
Ubuntu 22.04
Bluefish:
  Installed: 2.2.12-1.1build1
  Candidate: 2.2.12-1.1build1
  Version table:
 *** 2.2.12-1.1build1 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status

In Bluefish, if I select a block of code I want to indent using the
keyboard shortcut Ctrl+., Bluefish types an "e" at the end of the
selection, but doesn't indent the selected code.

For example, if I select the following code block and enter the keyboard
shortcut (Ctrl+.) to indent it:

if ($onlyindentkeyboardshortcutworked == true) {
    echo "I would be happy.";
} else {
    echo "I am not happy.";
}

I get this:

if ($onlyindentkeyboardshortcutworked == true) {
    echo "I would be happy.";
} else {
    echo "I am not happy.";
}e

But I should get this:

    if ($onlyindentkeyboardshortcutworked == true) {
        echo "I would be happy.";
    } else {
        echo "I am not happy.";
    }

If I use Tools > Format > Indent, or the Indent Toolbar Button, indent
works as expected. (The latter is a good workaround.)

I removed my .bluefish config file and repeated the test with a clean
one, but it made no difference.

** Affects: bluefish (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bluefish indent

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1971761

Title:
  Indent Keyboard Shortcut Doesn't Work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluefish/+bug/1971761/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to