Replies: 6 comments
-
Oops, returned to soon. Here is my issue: There is a certain amount of complexity in the Tedit code that deals with "style sheets". But I can't find any mention of them in the Tedit documentation--how are they set, what do they do? So, in cleaning this up, it isn't clear what if any of this needs to be preserved--or whether it needs to be enhanced in some user-accessible way. Does anybody know? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure of the order of things, but I think "style sheets" --as a way of separating content from its "looks" -- may have been nascent when the bulk of TEdit was built. TEdit did separate the stream of text from the looks (font, size, etc.) which I think was done for Bravo and BravoX. Perhaps a work in progress? Are there dates associated with the style sheet notion and other TEdit changes? |
Beta Was this translation helpful? Give feedback.
-
All related functions are from July 1993.
Each piece has its own looks, but it may be that the intent was for some of the fields of a piece to be left out and defaulted to whatever the current style is. That would be reasonable—to be able to have a “style” for function names that picks a font, size, italics, whatever, and you would just say that a given string in a document is a function.
But there doesn’t seem to be any public interface for this—how do you set up a style sheet? How do you pick one for a given selection? For example, there doesn’t seem to be a style item in any of the menus
And, there doesn’t seem to be any code that would address some obvious situations. What if the definition of a style changes while you are editing a document—should all the affected pieces be updated and reformatted? Should the styles be saved with the document, so it always starts out the way it was saved? Etc.
… On Sep 15, 2022, at 11:05 AM, Larry Masinter ***@***.***> wrote:
I'm not sure of the order of things, but I think "style sheets" --as a way of separating content from its "looks" -- may have been nascent when the bulk of TEdit was built. TEdit did separate the stream of text from the looks (font, size, etc.) which I think was done for Bravo and BravoX. Perhaps a work in progress? Are there dates associated with the style sheet notion and other TEdit changes?
—
Reply to this email directly, view it on GitHub <#941 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJIUGLFGQSG4SA76GQDV6NQOTANCNFSM6AAAAAAQNTYIFQ>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
This question may be converted to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Can this issue be moved to a discussion? |
Beta Was this translation helpful? Give feedback.
-
Yes
… On Jul 29, 2025, at 12:42 PM, Paolo Amoroso ***@***.***> wrote:
pamoroso
left a comment
(Interlisp/medley#941)
<#941 (comment)>
Can this issue be moved to a discussion?
—
Reply to this email directly, view it on GitHub <#941 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJNHGULNQGW2DMPBI3L3K7FA5AVCNFSM6AAAAABSQSDPKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZTHAYDQNJSGI>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Beta Was this translation helpful? Give feedback.
All reactions