Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Any algorithm for Text Edit for Limited Text Display

Any algorithm for Text Edit for Limited Text Display

Scheduled Pinned Locked Moved C / C++ / MFC
algorithmsperformance
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sakthii
    wrote on last edited by
    #1

    I am emulating mobile in windows platform.. so I have two text box emulating 2 lines of LCD of mobile. Max number of character that i can store in memory can be 50 per line, but the only 20 characters can be displayed in LCD(text box) at any point of time. I have to take of scrolling left, scrolling right, including insertion and deletion of character in LCD(text box) I know i have to take of Cursor position, and possibly have MasterBuffer which will contain the 50 characters and TemporaryBuffer which shall contain 20 characters to display. I can work out a logic to take care of insertion, deletion etc. But before i start doing my own logic, i wish to know is there any algorithm defined for it already as or any library available or any kind of class.. or code snippet.. i dont want to start from ground zero if it is already something is available.. as i felt text editing in mobile is common.. Let me know if you want more info.. Advance thanks on your reply!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups