Bug with Format Doc in object
Before:
After:
Thanks! Your extension helps me a lot, it's hard to even imagine what it would have been without your extension!
Thanks for the clear repro! Would you mind pasting plaintext so I can copy-paste? No promises on any quick fix, but definitely backlogging this one :)
Glad the extension was of use!!
Styles := {Border:5 , Rounded:10 , Margin:8 , BorderColorLinearGradientStart:0xff3881a7 ;0xffb7407c , BorderColorLinearGradientEnd:0xff3881a7 , BorderColorLinearGradientAngle:45 , BorderColorLinearGradientMode:6 , FontSize:16 , TextColor:0xFFFFFFFF ;0xffd9d9db , BackgroundColor:0xAA000000 ;0xff26293a , FontStyle:"Regular" , Align: 2 ; 0 = Left aligned, 1 = Center aligned, 2 = Right aligned }
OwnzztooltipStyle2 := {Border:1 , Rounded:8 , TextColor:0xfff4f4f4 , BackgroundColor:0xaa3e3d45 , FontSize:14}
Style99 := {Border:20 ; If
omitted, 1 will be used. Range 0-20. , Rounded:30 ; If omitted, 3 will be used. Range 0-30. , Margin:30 ; If omitted, 5 will be used. Range 0-30. , TabStops:[50, 80, 100] ; If omitted, [50] will be used. This value must be an array. , BorderColor:0xffaabbcc ; ARGB , BorderColorLinearGradientStart:0xff16a085 ; ARGB , BorderColorLinearGradientEnd:0xfff4d03f ; ARGB , BorderColorLinearGradientAngle:45 ; Mode=8 Angle 0(L to R) 90(U to D) 180(R to L) 270(D to U) , BorderColorLinearGradientMode:1 ; Mode=4 Angle 0(L to R) 90(D to U), Range 1-8. , TextColor:0xff112233 ; ARGB , TextColorLinearGradientStart:0xff00416a ; ARGB , TextColorLinearGradientEnd:0xffe4e5e6 ; ARGB , TextColorLinearGradientAngle:90 ; Mode=8 Angle 0(L to R) 90(U to D) 180(R to L) 270(D to U) , TextColorLinearGradientMode:1 ; Mode=4 Angle 0(L to R) 90(D to U), Range 1-8. , BackgroundColor:0xff778899 ; ARGB , BackgroundColorLinearGradientStart:0xff8DA5D3 ; ARGB , BackgroundColorLinearGradientEnd:0xffF4CFC9 ; ARGB , BackgroundColorLinearGradientAngle:135 ; Mode=8 Angle 0(L to R) 90(U to D) 180(R to L) 270(D to U) , BackgroundColorLinearGradientMode:1 ; Mode=4 Angle 0(L to R) 90(D to U), Range 1-8. , Font:"Font Name" ; If omitted, ToolTip's Font will be used. Can specify the font file path. , FontSize:20 ; If omitted, 12 will be used. , FontRender:5 ; If omitted, 5 will be used. Range 0-5. , FontStyle:"Regular Bold Italic BoldItalic Underline Strikeout"}
בתאריך יום ה׳, 26 בדצמ׳ 2024 ב-19:10 מאת Mark Wiemer < @.***>:
Thanks for the clear repro! Would you mind pasting plaintext so I can copy-paste? No promises on any quick fix, but definitely backlogging this one :)
Glad the extension was of use!!
— Reply to this email directly, view it on GitHub https://github.com/mark-wiemer/ahkpp/issues/585#issuecomment-2562960886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZFMFTASVDGUPW5QNMPQVM32HQ2B7AVCNFSM6AAAAABUHKAW3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRSHE3DAOBYGY . You are receiving this because you authored the thread.Message ID: @.***>
@mark-wiemer
Now I saw that there is another similar bug (but slightly different)
Before:
After:
MDMF_GetInfo(HMON) { MIEX := Buffer(40 + (32 << !!1)) NumPut("UInt", MIEX.Size, MIEX, 0) if DllCall("User32.dll\GetMonitorInfo", "Ptr", HMON, "Ptr", MIEX.Ptr, "Int") { return {Name: (Name := StrGet(MIEX.Ptr + 40, 32)) ; CCHDEVICENAME = 32 , Num: RegExReplace(Name, ".*(\d+)$", "$1") , Left: NumGet(MIEX, 4, "Int") ; display rectangle , Top: NumGet(MIEX, 8, "Int") ; " , Right: NumGet(MIEX, 12, "Int") ; " , Bottom: NumGet(MIEX, 16, "Int") ; " , WALeft: NumGet(MIEX, 20, "Int") ; work area , WATop: NumGet(MIEX, 24, "Int") ; " , WARight: NumGet(MIEX, 28, "Int") ; " , WABottom: NumGet(MIEX, 32, "Int") ; " , Primary: NumGet(MIEX, 36, "UInt")} ; contains a non-zero value for the primary monitor. } return False }
In the meantime, is there any code to exclude a certain section from the formatting?
Thanks for the update. I'll have that info by the end of the calendar year, but I'm busy at the moment :(
Sorry for the delay, it's taken way too long for me to recombobulate! Right now there is no way to disable the formatter for a certain section or even a certain file, unfortunately. Both should be possible, but will take some time. I'll see if we can just fix this bug in the meantime anyway :)