fastnick1oo Posted February 6, 2007 Share Posted February 6, 2007 It's been a long time since I've been here. But nvm. I was looking thrue forum and still got nothing. How can I make line count which will display on left side od edit control. Like one in SciTE. I need it for my text editor. I did something similar but it used two controls, when I scrolled one, the other stayed in same place (thats my main problem). Thx4hlp. SciTE - much better than notepad. ; ] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 6, 2007 Moderators Share Posted February 6, 2007 It's been a long time since I've been here. But nvm.I was looking thrue forum and still got nothing.How can I make line count which will display on left side od edit control. Like one in SciTE.I need it for my text editor.I did something similar but it used two controls, when I scrolled one, the other stayed in same place (thats my main problem).Thx4hlp.http://www.autoitscript.com/forum/index.ph...c=40372&hl=Look at how he did it here. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
fastnick1oo Posted February 6, 2007 Author Share Posted February 6, 2007 (edited) Nice editor, but I was looking for some AI code. :/ Edited February 6, 2007 by fastnick1oo SciTE - much better than notepad. ; ] Link to comment Share on other sites More sharing options...
arcker Posted February 6, 2007 Share Posted February 6, 2007 _API_SendMessage ($hWnd, $EM_GETLINECOUNT, 0, 0) look for AutoIt3Lib for it to work and my RichEdit control to have an example -- Arck System _ Soon -- Ideas make everything "La critique est facile, l'art est difficile" Projects :[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list] Link to comment Share on other sites More sharing options...
fastnick1oo Posted February 7, 2007 Author Share Posted February 7, 2007 Ok... I'll say it more "visial".I want to do something like this:in AutoIt. To get edit field with lines count on the left.Is it possible?Btw: arcker i was trying to run RichEdit, but I got too much errors. SciTE - much better than notepad. ; ] Link to comment Share on other sites More sharing options...
arcker Posted February 7, 2007 Share Posted February 7, 2007 in AutoIt. To get edit field with lines count on the left.Is it possible?Btw: arcker i was trying to run RichEdit, but I got too much errors.sure it should be possible, but i think it will be hardyou don't need to run richedit to see if it works, just copy the part of the code needed (look at the function linecount or in my last AutoItPad, in the A3LRichEdit.au3) -- Arck System _ Soon -- Ideas make everything "La critique est facile, l'art est difficile" Projects :[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now