06-22-2023, 03:23 PM
(This post was last modified: 06-22-2023, 03:24 PM by TerryRitchie.)
(06-22-2023, 02:12 PM)bplus Wrote:Nope, I never use tabs for spacing. In the DOS days this would cause strange things to happen between editors so I got in the habit of never using them.(06-22-2023, 01:05 PM)TerryRitchie Wrote: Spacing is not being preserved correctly when posting code using any of the code tags. If you look at the code I just posted here:
https://staging.qb64phoenix.com/showthre...4#pid17014
You can see my REM statements don't line up. They do in my original code however.
You are talking about the comments always starting on same column, I assume.
Do you use tabs or something else besides spaces to get that alignment?
(06-22-2023, 02:37 PM)RhoSigma Wrote:It's happening with the standard code tags as well, which never used to happen before.(06-22-2023, 01:05 PM)TerryRitchie Wrote: Spacing is not being preserved correctly when posting code using any of the code tags. If you look at the code I just posted here:
https://staging.qb64phoenix.com/showthre...4#pid17014
You can see my REM statements don't line up. They do in my original code however.
Hi Terry, indeed this seems to happen with the [ q b ] code tag and as I noticed somtimes it even get worse after editing/updating a post containing such codeboxes, but couldn't find out a cause for that to give @grymmjack a hint where to look for a fix.
However, you know and used already the IDE code export facility in your tutorial. Since v3.8.0 you can also export into a [ q b = e x p o r t ] forum codebox which preserves all spacing and links keywords to the Wiki pages as usual. The only "disadvantage" is that this type of codebox does not have line numbers.