2018-08-26から1日間の記事一覧
概要 クリップボードの文字列に含まれるタブを Alt + F5 でスペースに変換できるツール「TabToSpace」を GitHub に公開しました https://github.com/baba-s/tab-to-space/blob/master/TabToSpace.zip?raw=true 上記の URL からダウンロードした ZIP ファイル…
ソースコード using System.Text; public static class TabToSpaceConvertor { private static int GetNearestTabStop( int currentPosition, int tabLength ) { if ( currentPosition % tabLength == 1 ) { currentPosition += tabLength; } else { for ( i…