Commit bfe69f2
committed
unify indent char handling
There is a new indent_char() api in jsoncons, but it is a subset of the
already present indent_chars() api. the indent_char_ state is removed,
and to preserve compatibilty with test code etc, the setter is preserved
to set the char into the underlying string.
Signed-off-by: Abhijat Malviya <abhijat@dragonflydb.io>1 parent 5b5e7d1 commit bfe69f2
2 files changed
Lines changed: 6 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
333 | 332 | | |
334 | 333 | | |
335 | 334 | | |
| |||
359 | 358 | | |
360 | 359 | | |
361 | 360 | | |
362 | | - | |
363 | 361 | | |
364 | 362 | | |
365 | 363 | | |
| |||
1084 | 1082 | | |
1085 | 1083 | | |
1086 | 1084 | | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
| 1085 | + | |
1095 | 1086 | | |
1096 | 1087 | | |
1097 | 1088 | | |
| |||
1101 | 1092 | | |
1102 | 1093 | | |
1103 | 1094 | | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
| 1095 | + | |
1112 | 1096 | | |
1113 | 1097 | | |
1114 | 1098 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
343 | 342 | | |
344 | 343 | | |
345 | 344 | | |
| |||
357 | 356 | | |
358 | 357 | | |
359 | 358 | | |
360 | | - | |
361 | | - | |
| 359 | + | |
362 | 360 | | |
363 | 361 | | |
| 362 | + | |
364 | 363 | | |
365 | 364 | | |
366 | 365 | | |
| |||
385 | 384 | | |
386 | 385 | | |
387 | 386 | | |
388 | | - | |
389 | 387 | | |
390 | 388 | | |
391 | 389 | | |
| |||
434 | 432 | | |
435 | 433 | | |
436 | 434 | | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 435 | + | |
443 | 436 | | |
444 | 437 | | |
445 | 438 | | |
| |||
645 | 638 | | |
646 | 639 | | |
647 | 640 | | |
648 | | - | |
| 641 | + | |
649 | 642 | | |
650 | 643 | | |
651 | 644 | | |
| |||
0 commit comments