Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: New class for SFML2: TextArea.  (Read 20261 times)

0 Members and 1 Guest are viewing this topic.

Cierpliwy

  • Newbie
  • *
  • Posts: 23
    • View Profile
New class for SFML2: TextArea.
« Reply #15 on: December 20, 2009, 12:18:25 pm »
After look at the ver. 0.1, code seems to be very, very buggy. But I hope Ver 0.2 will be the stable one. Maybe I'll finish it today :) I'll check your fix soon Laurent.

buggy123

  • Newbie
  • *
  • Posts: 26
    • View Profile
New class for SFML2: TextArea.
« Reply #16 on: December 22, 2009, 06:55:11 am »
woah the comments are in russian O_o

can you give a version with English comments plz?

Cierpliwy

  • Newbie
  • *
  • Posts: 23
    • View Profile
New class for SFML2: TextArea.
« Reply #17 on: December 22, 2009, 09:41:53 am »
If I finish stable version of TextArea, I'll surely put it there and translate comments as well. Now, my implementation is too bloated, complicated and limited (about 1000 lines of code). So Version 0.2 won't appear very soon, unfortunately :(

PS. It's not Russian, It's polish :)

buggy123

  • Newbie
  • *
  • Posts: 26
    • View Profile
New class for SFML2: TextArea.
« Reply #18 on: December 22, 2009, 09:41:57 pm »
oh...I'm sorry...didn't realize it was polish. Anyways, keep up the good work :D

Cierpliwy

  • Newbie
  • *
  • Posts: 23
    • View Profile
New class for SFML2: TextArea.
« Reply #19 on: January 05, 2010, 05:26:17 pm »
I just want to communicate that I'm still writing my TextArea class. I've finally done parsing part, so the worst is behind me ;) If there aren't any bigger problems, Maybe I'll finish it today or tomorrow. I'll also create new topic in SFML Projects for that purpose. :)

model76

  • Full Member
  • ***
  • Posts: 231
    • View Profile
New class for SFML2: TextArea.
« Reply #20 on: March 12, 2010, 03:06:55 am »
Hey - did you ever get around to finishing? This project looks really interesting!

BobTheFish

  • Newbie
  • *
  • Posts: 17
    • View Profile
New class for SFML2: TextArea.
« Reply #21 on: March 13, 2010, 03:36:48 am »
This is a really useful class!

Quote from: "Cierpliwy"
Please tell me what features should I add to TextArea class! ;)

Superscript and subscript would be nice :)
(that's the <sub></sub> and <sup></sup> tags)

Cierpliwy

  • Newbie
  • *
  • Posts: 23
    • View Profile
New class for SFML2: TextArea.
« Reply #22 on: March 21, 2010, 05:27:17 pm »
Unfortunately, I probably won't finish this class because I'm hardly studying, now ;/ I also encounter many issues and problems while implementing my vision of TextArea. It was quite hard to do this!

Also I lost my main code due to small accident. So I can't even give sources to someone who would like to continue my job. Sorry for that. It's my mistake.

nietaki

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • http://almost-done.net
New class for SFML2: TextArea.
« Reply #23 on: March 14, 2012, 11:14:06 pm »
I would like to bump this thread to say how unfortunate it is, that the code was lost...

Does anybody have a copy of the code somewhere? Or maybe a similar library lying around? Cierpliwy's class seemed pretty powerful and I wouldn't like to implement a TextArea on my own if there's a good alternative...

btw: version control systems - they rock. And time-proven pastebins are also ok ;)

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Re: New class for SFML2: TextArea.
« Reply #24 on: April 12, 2012, 01:09:22 am »
Oh that's a really good job. I would have needed it a few days ago (multiple color on the same line) and I finally split my text in multiple parts. I'll download it but i can't study it right now. I have my own GUI, can I implement something like you drawing inspiration from your class?

eugustus

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: New class for SFML2: TextArea.
« Reply #25 on: December 28, 2016, 05:37:35 pm »
Ok.. I programmed a bit. It was about ~500 lines of code to implement basic TextArea class.


Put this files in your project:
- http://paste-it.net/public/q98ffc4/
- http://paste-it.net/public/jc6dcfd/

I'm waiting for your opinions and propositions.

Hello. You should someone please Actual links to these files? paste-it.net does not work anymore ... Thank you

Ala google translator...

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
New class for SFML2: TextArea.
« Reply #26 on: December 29, 2016, 09:54:47 am »
This topic is over 4 years old, it's not surprising that some links might have stopped working. Please don't write on years old topics, if you don't have anything useful to add.

If you want a rich text class, then here are two alternatives:
https://github.com/skyrpex/RichText
https://bitbucket.org/jacobalbano/sfml-richtext
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

eugustus

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: New class for SFML2: TextArea.
« Reply #27 on: January 11, 2017, 01:12:39 pm »
Thanks eXpl0it3r. But I go to use ImGui (aka Dear GUI)  Its have multiline text edit box ;)