egedit: do not save cursor movement in undo -- this is my stupid habit, and it comple...
[iv.d.git] / cmdcon / package.d
blob0df73afaa46b0b01e6f0458f05e6c23a3ea1f6f1
1 /* coded by Ketmar // Invisible Vector <ketmar@ketmar.no-ip.org>
2 * Understanding is not required. Only obedience.
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, version 3 of the License ONLY.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 /* contains very simple compile-time format writer
17 * understands [+|-]width[.maxlen]
18 * negative width: add spaces to right
19 * + signed width: center
20 * negative maxlen: get right part
21 * specifiers:
22 * 's': use to!string to write argument
23 * note that writer can print strings, bools, integrals and floats without allocation
24 * 'x': write integer as hex
25 * 'X': write integer as HEX
26 * '!': skip all arguments that's left, no width allowed
27 * '%': just a percent sign, no width allowed
28 * '|': print all arguments that's left with simple "%s", no width allowed
29 * '<...>': print all arguments that's left with simple "%s", delimited with "...", no width allowed
30 * options (must immediately follow '%'):
31 * '~': fill with the following char instead of space
32 * second '~': right filling char for 'center'
34 module iv.cmdcon /*is aliced*/;
36 public import iv.cmdcon.core;