| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Pressing Tab with "Insert spaces for tabs"inserted spaces that were treated like a paste and reindented via `replaceIndent(..., false)`, which returned an empty string and removed the indentation. Skip reindentation for single-line, whitespace-only inserts so user-inserted spaces are preserved on blank lines. Multi-line pastes and non-whitespaceinserts remain unchanged.
|
@ddscharfe This PR is to address the issue you reported in #949 can you please try to install this snapshot version of TM4E and confirm that the issue is solved: https://github.com/eclipse-tm4e/tm4e/actions/runs/19042992902/artifacts/4452012289 |
Sorry, something went wrong.
|
@sebthom That was quick, thanks a lot! This solves the issue. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Pressing Tab with "Insert spaces for tabs"inserted spaces that were treated like a paste and reindented via replaceIndent(..., false), which returned an empty string and removed the indentation.
Skip reindentation for single-line, whitespace-only inserts so user-inserted spaces are preserved on blank lines. Multi-line pastes and non-whitespaceinserts remain unchanged.