logwizard icon indicating copy to clipboard operation
logwizard copied to clipboard

column formatting - align (for msg column, usually)

Open jtorjo opened this issue 10 years ago • 0 comments

[time.stats.scrp_pot5] =251158.15(2620.41) ms, 79507(5182) calls, avg=003.16(000.51) hc=0(08:13) [time.stats.scrp_pot6] =257892.67(2901.56) ms, 79510(5180) calls, avg=003.24(000.56) hc=0(08:18) [time.stats.scrp_pot7] =166015.18(2503.61) ms, 79864(5182) calls, avg=002.08(000.48) hc=0(08:24) [time.stats.imback7] =14873.80(000.00) ms, 2942(589) calls, avg=005.06(000.00) hc=0(08:25) [time.stats.imback4] =79556.32(902.61) ms, 9406(589) calls, avg=008.46(001.53) hc=0(08:29) [time.stats.imback8] =15442.69(904.70) ms, 2939(589) calls, avg=005.25(001.54) hc=0(08:40) [time.stats.scrp_pot10] =176.88(001.95) ms, 39707(5179) calls, avg=000.00(000.00) hc=0(09:51) [time.stats.scrp_pot3] =292655.19(490.36) ms, 100403(5165) calls, avg=002.91(000.09) hc=0(10:10) [time.stats.scrp_pot4] =278125.99(2517.71) ms, 100501(5146) calls, avg=002.77(000.49) hc=0(10:20) [time.stats.imback2] =144287.82(576.32) ms, 11747(588) calls, avg=012.28(000.98) hc=0(10:26) [time.stats.zorder] =22231.01(670.09) ms, 51616(2362) calls, avg=000.43(000.28) hc=0(11:07) [time.stats.scrp_pot2] =318480.43(2442.28) ms, 111320(5143) calls, avg=002.86(000.47) hc=0(11:22) [time.stats.imback6] =26242.14(002.93) ms, 3527(588) calls, avg=007.44(000.00) hc=0(12:14)

I should be able to align the above text by "," into sub columns, sort of speak.

I have to think about how I can identify these types of subcolumns, whether to do it all the time, or just when some text is present, and also look around on what rows visible on screen, in order to create the padding based on that (what is visible). This will clearly assume a fixed-width font

and also, think about cache - can i do caching as well if this is on?

extra note - I should also care about starting [*] which can count as column (at start of line)

jtorjo avatar Mar 05 '16 14:03 jtorjo