Fossil SCM

Make `th1-setup` a textarea in settings UI

Closed

202edc2c1c71bcc… · opened 12 years, 1 month ago

Type
Feature_Request
Priority
Severity
Minor
Resolution
Fixed
Subsystem
Created
Feb. 16, 2014 11:13 p.m.

I'm utilizing th1-setup for preparing some userland TH1 functions, e.g. th1x.tcl

Now it's usually multi-line when injected via fossil setting th1-setup "$(cat th1)". In the fossil web UI it's displayed as <input type=text> however, where most browsers will turn linebreaks into spaces. Subsequently editing any setting via fossil ui will break th1-setup.

Hence I'd prefer if it became a <textarea> input field as well (like binary-glob etc.), so it retains formatting and doesn't break the TH1 code due to comments or lack of semicolons.

Comments (2)

nobody 12 years, 1 month ago

I'm utilizing th1-setup for preparing some userland TH1 functions, e.g. th1x.tcl

Now it's usually multi-line when injected via fossil setting th1-setup "$(cat th1)". In the fossil web UI it's displayed as <input type=text> however, where most browsers will turn linebreaks into spaces. Subsequently editing any setting via fossil ui will break th1-setup.

Hence I'd prefer if it became a <textarea> input field as well (like binary-glob etc.), so it retains formatting and doesn't break the TH1 code due to comments or lack of semicolons.

jan.nijtmans 12 years, 1 month ago

Fixed in [28429acb2b]. Thanks!

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button