Jump to content

Multiple text styles


Recommended Posts

I was looking for a way to specify text styles programmatically. After some unsuccessful attempts I found an approach that works surprisingly well, using selection and font properties. I wanted to use some HTML-like tags so I wrote a small library to do the work. Also included: A general-purpose 'about' dialog. Enjoy :-)

StyledText-LV2010.zip

StyledText.png

StyledText-LV2010.zip

Link to comment

Contributions to the community are always appreciated thank you.  That being said you might want to look into the other alternatives that have seemingly similar feature sets to yours.  I've been using LVMark for several years.  It isn't HTML but a type of markdown format.  Years ago there was another attempt called Formatter which does look like HTML.

Link to comment
23 hours ago, hooovahh said:

I've been using LVMark for several years.  It isn't HTML but a type of markdown format.  Years ago there was another attempt called Formatter which does look like HTML.

Cool, if I knew that before I probably didn't create my own library. Probably I used the wrong keywords for my search on LAVA.

But now that my library exists, what to do with it? Submit it to the CR? Create a GitHub repository? Do both? I'm unsure...

Link to comment

You probably already saw a discussion on Code Sharing, which has no conclusion yet.  My opinion is if it is stable and good and you don't expect much changes, submit it to the Code Repository here (package preferred).  If this is still in a state of flux and development, a site better equipped with change management like BitBucket or GitHub would probably be better.  That being said this is a fine place to start discussions and suggestions, and can be moved to Code In Development at your request.

Link to comment
On 3.10.2018 at 11:35 PM, hooovahh said:

You probably already saw a discussion on Code Sharing, which has no conclusion yet.  My opinion is if it is stable and good and you don't expect much changes, submit it to the Code Repository here (package preferred).  If this is still in a state of flux and development, a site better equipped with change management like BitBucket or GitHub would probably be better.  That being said this is a fine place to start discussions and suggestions, and can be moved to Code In Development at your request.

I did it: Here is the URL to the GitHub repository: https://github.com/mus-candidus/StyledText

Please move this thread to "Code in Development".

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.