Ticket #35 (assigned enhancement)

Opened 3 years ago

Last modified 2 years ago

tab_width as an instance variable

Reported by: stephen@… Owned by: deveiant
Priority: normal Milestone: Bugfixes
Component: API Version: 1.0.1
Severity: normal Keywords: tab width instance variable
Cc:

Description

I really like Markdown with TabWidth?=2. However, I'd rather not maintain my own fork of the codebase just to change the class-eval-time constant.

So I pulled it out into an instance variable. This had a few side effects, most notably that a few regular expressions that depended on TabWidth? could not be class level anymore either.

I've attached a patch.

Oh. I should do a unit test too. But I've been fighting with this enough for this morning. Perhaps I'll do it later. Prod me if its important.

Attachments

tab_width.diff (4.6 kB) - added by stephen@… 3 years ago.
tab_width as an instance variable

Change History

Changed 3 years ago by stephen@…

tab_width as an instance variable

Changed 2 years ago by deveiant

  • keywords tab width instance variable added
  • status changed from new to assigned
  • version set to 1.0.1
  • milestone set to Bugfixes

This would be easy to wrap in the changes necessary for #34.

Note: See TracTickets for help on using tickets.