HTML does not (AFAIK) distinguish between tabs and other whitespace. It
will (by default) collapse all such characters into a single one or (with
the right css) display them as-is, but css provides no way to say "treat
tabs as N spaces" (or no way i have wver seen). My point being - in the web
ui, i don't think this is possible without filtering the text.

(sent from a mobile device - please excuse brevity, typos, and top-posting)
----- stephan beal
http://wanderinghorse.net
On Oct 1, 2014 12:49 AM, "Dömötör Gulyás" <dognot...@gmail.com> wrote:

> Wether you like tabs or spaces, both are widely enough used to
> consider a setting for display purposes in the Web UI.
>
> On 30 September 2014 23:01, Zoltán Kócsi <zol...@bendor.com.au> wrote:
> > On Tue, 30 Sep 2014 12:12:11 -0400
> > Ron W <ronw.m...@gmail.com> wrote:
> >
> >> On Tue, Sep 30, 2014 at 10:01 AM, Zoltán Kócsi <zol...@bendor.com.au>
> >> wrote:
> >>
> >> [...]
> >> Are you referring to the  web UI display of files?
> >
> > Yes. Not what is stored, but the way it is displayed in the HTML
> > output. I expect a revision control system never to alter the content.
> > But for display purposes, some flexibility in formatting can not hurt.
> >
> >> If Fossil were to not convert TAB to spaces, then I think the CSS
> >> could be adjusted.
> >
> > I know next to nothing about CSS (or HTML, for that matter), so if you
> > can tell me how to adjust CSS to use tab stops at every N-th character,
> > I'd be most obliged.
> >
> > Thanks,
> >
> > Zoltan
> > _______________________________________________
> > fossil-users mailing list
> > fossil-users@lists.fossil-scm.org
> > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to