Libraryless. Click here for Pure Java version (2527L/16K).
1 | svoid tabsTo4Spaces_inPlace(File f) { |
2 | S text = loadTextFile(f); |
3 | if (containsTabs(text)) |
4 | saveTextFileVerbose(f, tabsTo4Spaces(text)); |
5 | } |
Began life as a copy of #1027145
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027146 |
Snippet name: | tabsTo4Spaces_inPlace |
Eternal ID of this version: | #1027146/4 |
Text MD5: | d8fae940697aaa9945740241f7940f07 |
Transpilation MD5: | 069432a8a2bec081b48ecf3e4d903fcb |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-22 14:28:00 |
Source code size: | 146 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 187 / 279 |
Version history: | 3 change(s) |
Referenced in: | [show references] |