Skip to content

Bug Reports: Broken Indentation on Word Wrap, Inefficient Auto-Rename, and Nested Tag Auto-Close Failure #2355

Description

@reval7670

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Hi Developer,

First of all, thank you for this amazing text editor! However, I am experiencing a few issues while coding on the Android version (Play Store) that significantly disrupt the workflow. Here are the details of the bugs:

  1. Word Wrap / Text Wrap Indentation Issue:
    When the "Word Wrap" feature is enabled, lines of code that hit the right edge of the screen wrap to the next line without preserving the proper indentation. Instead, the wrapped code block drops down and aligns completely to the left, making the code structure very messy and hard to read.

  2. Inefficient Auto-Rename Tag:
    The auto-rename tag feature is currently inefficient and often causes unintended code breaking. When trying to edit or delete an opening tag, it aggressively modifies or deletes parts of the closing tag even when the structure is still incomplete, which feels very disruptive.

  3. Auto-Close Tag Failure on Nested Elements:
    When creating a nested tag (a tag inside another tag), typing the closing > bracket on the first inner tag fails to trigger the automatic completion. Furthermore, the editor gets confused and links the background syntax highlighting of the inner opening tag to the outermost closing tag instead.

Environment

Expected Behavior:

  • Wrapped lines should maintain the indentation level of their parent line.
  • Auto-rename tag should be less aggressive or more context-aware.
  • Auto-close tags should work consistently even within nested structures.

Please look into these issues when you have the time. Thank you so much for your hard work and support!

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

Acode.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions