sS betterAutoUnindent(S s) { int n = betterGetIndent(s); if (n == 0) ret s; L<S> l = toLines(s); for (int i = 0; i < l(l); i++) l.set(i, substring(l.get(i), n)); ret fromLines(l); }
Began life as a copy of #1002853
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036937 |
Snippet name: | betterAutoUnindent |
Eternal ID of this version: | #1036937/1 |
Text MD5: | 143552739fbdefd6f7bd5545dd591902 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-07-24 21:35:03 |
Source code size: | 202 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 117 / 143 |
Referenced in: | #761 - New #629 - Standard functions list (LIVE) - continued on #1006654 |