Repository navigation
Wrapped lines no longer preserve indentation (Regression) #2504
Description
Activity
- moved this from Backlog to In progress in The Code Board - Acode
on Jul 20, 2026 - moved this from In progress to Done in The Code Board - Acode
on Jul 20, 2026 @bajrangCoder pls fix this. Even the latest version of this app has this issue and it makes the app unusable. This has prompted me to use an older version of the app.
I'm using android 15
Downloaded the app from Playstore and fdroid.Two issues:
- Selected text is not highlighted, expecially on vscode theme.
- Text wrapping is broken.
- Vscode theme now looks washed out. I would know cos it's the only theme I've been using on the app for years.
Reacted by Raden and Afam@bajrangCoder Please fix this, i still use an old version of the app
@bajrangCoder @deadlyjack please fix it soon, some of the same users have experienced the same thing.
@radenrudun Have they fixed any of these issues, or is it safe to download the latest version of the app?
6 remaining items
@Jahnslay, how can you say it’s not working? Have you even tested the latest nightly build that includes this fix?
@bajrangCoder - Yes I've tested it. @Afam007 's comment above , explains this better.
@bajrangCoder Thanks for the fix , wrapped lines preserve indentation, but it still needs an offset after the wrap like this. notice the space, that's what @Jahnslay is talking about

If that's the case, then it's more of a personal preference than something being broken. Especially on mobile, where screen space is already limited, larger indentation can make large files harder to read. Even editors like VS Code and Zed default to similar behavior.
Anyway, I'll add a setting in the UI so users who prefer a different indentation level can adjust it themselves. But calling the current behavior "broken" doesn't really make sense.
@bajrangCoder Thanks for the fix , wrapped lines preserve indentation, but it still needs an offset after the wrap like this. notice the space, that's what @Jahnslay is talking about

this is the current state now

If that's the case, then it's more of a personal preference than something being broken. Especially on mobile, where screen space is already limited, larger indentation can make large files harder to read. Even editors like VS Code and Zed default to similar behavior.
Anyway, I'll add a setting in the UI so users who prefer a different indentation level can adjust it themselves. But calling the current behavior "broken" doesn't really make sense.
@bajrangCoder yes I agree, if the offset could be adjusted too that would the nice, the one in the above image I sent is alot for me personally, I would prefer as little as possible, as long as the wrapped line is not directly under the start of the parent line, thank you 🙏
@bajrangCoder Ok thanks, will wait for release
@bajrangCoder Ok thanks, will wait for release
https://github.com/Acode-Foundation/Acode/releases/tag/1.13.4-nightly.d7b549a
@bajrangCoder Ok thanks, will wait for release
https://github.com/Acode-Foundation/Acode/releases/tag/1.13.4-nightly.d7b549a
@bajrangCoder - Thank you, the latest version you just released fixed the issue with that setting config, and pls, in the future, never assume users will simply not mind you removing something this essential. Indenting just 2 spaces to have a neat looking file is not optional, it's necessary for majority of people.
Reacted by Raunak Raj@bajrangCoder There are two more issues with the app.
- The line numbers tab grows too big for No reason ON SOME. FILES. Yes, it only happens on some files, e.g: it doesn't happen on the settings.json files, and I've examined the file that this happens on, and it contains a lot of code and that is also not the problem at all, since older versions of this app does not have this bug
- The fade widgets do not display in some places, and I have not turned on "fade fold widgets".
Please fix these as soon as you can, expecially the line numbers thing, because this is actually bothering people more than 2 spaces for indentation.
@bajrangCoder There are two more issues with the app.
- The line numbers tab grows too big for No reason ON SOME. FILES. Yes, it only happens on some files, e.g: it doesn't happen on the settings.json files, and I've examined the file that this happens on, and it contains a lot of code and that is also not the problem at all, since older versions of this app does not have this bug
2. The fade widgets do not display in some places, and I have not turned on "fade fold widgets".
Please fix these as soon as you can, expecially the line numbers thing, because this is actually bothering people more than 2 spaces for indentation.
- That's because LSP needs enough spaces to show lint related icons on gutter (you can turn "Show lint gutter" off from settings) , there is no LSP attached for settings.json. but keep in mind, turning that off will not show any LSP/lint related error/warning/info icon on gutter
- We'll check , it seems some css issue.
@bajrangCoder I think the word wrap only breaks at whitespace , usual behavior is to break after a comma or word
chars like "=" should act like a delimeter too, there's no whitespace before the "="

From usual behavior breaks can be made around any char " , ( as long as it doesn't break a word
@bajrangCoder Apologies, a bit lazy to open a new issue.
The gutter space issue, I think the line numbers takes more space depending on the number of digits, and there's a bit extra space around the lsp gutter icons that I think could be optimized, also fading fold widgets doesn't give more space.Another thing to add, lsp formatting not working, with no logs I can see.
@bajrangCoder Fold all does not work at all sometimes, and when it works, it only folds code in the upper part of the file, and I'm not talking about nested code here, although it fails at that too. The code I'm folding is top level, they are express js api routes, and the "fold all" only folds a few of them in a large file, meanwhile the older version if this app, specifically v1.11.7 , works perfectly. It seems a lot of things are broken in the latest versions of this app and some have been rendered less effective, the fold alldoes not even fold nested code well.
- locked as off topic and limited conversation to collaborators
on Sep 14, 2026
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone







Check for existing issues
Describe the bug / provide steps to reproduce it
Hi! First of all, thanks for the recent updates.
I noticed that in older versions of Acode, wrapped lines automatically preserved the indentation of the original line. This made long JavaScript, JSON, and TypeScript code much easier to read.
In the latest version, wrapped lines start from the left margin instead of following the indentation level.
Old behavior:
const response = await
fetch("https://api.example.com");
Current behavior:
const response = await
fetch("https://api.example.com");
This appears to be a regression, since previous versions handled wrapped indentation correctly.
Could this behavior be restored, or could an option such as "Wrapped Line Indent" / "Indented Soft Wrap" be added in the editor settings?
Thank you!
Environment
Apk Version: 1.12.6
Android Version: 15
Android System Webview: 150.0.7871.46
If applicable, add mockups / screenshots regarding your vision
No response
If applicable, attach your Acode.log file to this issue.
Acode.log