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
  1. Home
  2. General Programming
  3. C#
  4. Notepad 1024 characters per line restriction

Notepad 1024 characters per line restriction

Scheduled Pinned Locked Moved C#
helptutorialquestion
8 Posts 5 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.
  • L Offline
    L Offline
    lane0p2
    wrote on last edited by
    #1

    Im trying to write a Notepad type application which doesn't have the 1024 characters per line restriction. does anyone have any ideas on how to allow a line limitless (or at least a very high number - 1000000) characeters? any help would be great!!

    L 1 Reply Last reply
    0
    • L lane0p2

      Im trying to write a Notepad type application which doesn't have the 1024 characters per line restriction. does anyone have any ideas on how to allow a line limitless (or at least a very high number - 1000000) characeters? any help would be great!!

      L Offline
      L Offline
      lisan_al_ghaib
      wrote on last edited by
      #2

      Humm Are you using a specific control to display your text? I recently read a C# book : "Dissecting a C# application" in this book the authors are dissecting all parts of SharpDevelop application (C# editor), they created an editor from the scratch. You can check-it it might be helpful.

      L 1 Reply Last reply
      0
      • L lisan_al_ghaib

        Humm Are you using a specific control to display your text? I recently read a C# book : "Dissecting a C# application" in this book the authors are dissecting all parts of SharpDevelop application (C# editor), they created an editor from the scratch. You can check-it it might be helpful.

        L Offline
        L Offline
        lane0p2
        wrote on last edited by
        #3

        No, im just using a multiline textbox

        D L 2 Replies Last reply
        0
        • L lane0p2

          No, im just using a multiline textbox

          D Offline
          D Offline
          DaveyM69
          wrote on last edited by
          #4

          Use a rich text box

          Dave
          BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
          Expect everything to be hard and then enjoy the things that come easy. (code-frog)

          1 Reply Last reply
          0
          • L lane0p2

            No, im just using a multiline textbox

            L Offline
            L Offline
            lisan_al_ghaib
            wrote on last edited by
            #5

            Good choice! use a rich text box. But i thik that is has number of caracter limitation like notpad. have a line that contains more than 10000 caracter is a little bit WTF ? no ?

            P D 2 Replies Last reply
            0
            • L lisan_al_ghaib

              Good choice! use a rich text box. But i thik that is has number of caracter limitation like notpad. have a line that contains more than 10000 caracter is a little bit WTF ? no ?

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #6

              lisan_al_ghaib wrote:

              have a line that contains more than 10000 caracter is a little bit WTF ?

              :laugh: I wholeheartedly agree :)

              "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

              C 1 Reply Last reply
              0
              • L lisan_al_ghaib

                Good choice! use a rich text box. But i thik that is has number of caracter limitation like notpad. have a line that contains more than 10000 caracter is a little bit WTF ? no ?

                D Offline
                D Offline
                DaveyM69
                wrote on last edited by
                #7

                I think he meant a multiline control that will take >10000 characters total ;) At leat I hope so! The character limit for a RTB is 2147483647 (Int32.MaxValue).

                Dave
                BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
                Expect everything to be hard and then enjoy the things that come easy. (code-frog)

                1 Reply Last reply
                0
                • P Paul Conrad

                  lisan_al_ghaib wrote:

                  have a line that contains more than 10000 caracter is a little bit WTF ?

                  :laugh: I wholeheartedly agree :)

                  "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                  C Offline
                  C Offline
                  chaiguy1337
                  wrote on last edited by
                  #8

                  Nevertheless, a limitation is a limitation. :P

                  “Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’)            Built with home-grown CodeProject components! -”-”-

                  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