Click here to Skip to main content
16,004,977 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: A particular bug-bear of mine. Pin
Pete O'Hanlon3-Jan-07 8:36
mvePete O'Hanlon3-Jan-07 8:36 
GeneralRe: A particular bug-bear of mine. Pin
Ed.Poore3-Jan-07 8:50
Ed.Poore3-Jan-07 8:50 
AnswerRe: A particular bug-bear of mine. Pin
Code_Doctor16-Apr-07 18:10
Code_Doctor16-Apr-07 18:10 
QuestionSelection, as if it were text. Pin
Captain See Sharp27-Dec-06 10:01
Captain See Sharp27-Dec-06 10:01 
AnswerRe: Selection, as if it were text. Pin
J. Dunlap28-Dec-06 1:37
J. Dunlap28-Dec-06 1:37 
GeneralRe: Selection, as if it were text. Pin
Captain See Sharp28-Dec-06 8:51
Captain See Sharp28-Dec-06 8:51 
GeneralRe: Selection, as if it were text. Pin
J. Dunlap28-Dec-06 14:58
J. Dunlap28-Dec-06 14:58 
GeneralRe: Selection, as if it were text. Pin
Captain See Sharp28-Dec-06 15:33
Captain See Sharp28-Dec-06 15:33 
Excellent, I see how its all going to fit together. When I get the index to insert the new Range will be it like this?

I get 2 as the place to insert and when I insert it will go between 1 and 2?

     ..<.<.<.<.<.<.<.<------ 
0  1 . 2  3
     .
     ^
  new rage
     ^
0 1  2  3  4



J. Dunlap wrote:
Is there going to be an article about it?


Yeah, I had an article written for version 1.0. Version 1.0 was slow and limited. If you wanted to do copy and paste operations or undo/redo operations you had to type a lot of code to work with the control. I made a hex editor to go along with it and I realized that it wasn't as good as I want it to be. Its still good but not good enough. It had too many loops and and arrays, it was inefficient. The very core of the control is called the Data class and it does the hard work, its the smallest class in the program but all other code is wrapped around it and its the most performance critical part. Thats what all this is going into, the core. Then I can build the public API and UI part of the control which is much easier especially since I have an extensive API (from 1.0) that only needs slight additions and modifications.

Implementing binary search and sorting seems pretty simple. Hopefully it will stay that way when I'm actually implementing it. Thanks for your help.Smile | :)


█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██

GeneralRe: Selection, as if it were text. [modified][modified] Pin
Captain See Sharp3-Jan-07 13:33
Captain See Sharp3-Jan-07 13:33 
QuestionNew Forum Pin
Bradml25-Dec-06 0:13
Bradml25-Dec-06 0:13 
GeneralAwesome! Pin
J. Dunlap24-Dec-06 14:51
J. Dunlap24-Dec-06 14:51 
GeneralFirst Square Post On A New Forum Pin
Bassam Abdul-Baki23-Dec-06 9:04
professionalBassam Abdul-Baki23-Dec-06 9:04 
JokeWhy Discriminate? Pin
CPallini23-Dec-06 23:31
mveCPallini23-Dec-06 23:31 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad26-Dec-06 18:24
professionalPaul Conrad26-Dec-06 18:24 
GeneralRe: First Square Post On A New Forum Pin
User 171649227-Dec-06 1:52
professionalUser 171649227-Dec-06 1:52 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 6:11
professionalPaul Conrad27-Dec-06 6:11 
GeneralRe: First Square Post On A New Forum Pin
Bassam Abdul-Baki27-Dec-06 7:26
professionalBassam Abdul-Baki27-Dec-06 7:26 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 7:45
professionalPaul Conrad27-Dec-06 7:45 
GeneralRe: First Square Post On A New Forum Pin
Bassam Abdul-Baki27-Dec-06 9:44
professionalBassam Abdul-Baki27-Dec-06 9:44 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 10:11
professionalPaul Conrad27-Dec-06 10:11 
GeneralRe: First Square Post On A New Forum Pin
User 171649227-Dec-06 12:57
professionalUser 171649227-Dec-06 12:57 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 15:05
professionalPaul Conrad27-Dec-06 15:05 
GeneralRe: First Square Post On A New Forum Pin
Bassam Abdul-Baki27-Dec-06 2:17
professionalBassam Abdul-Baki27-Dec-06 2:17 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 6:11
professionalPaul Conrad27-Dec-06 6:11 
GeneralRe: First Square Post On A New Forum Pin
Bassam Abdul-Baki27-Dec-06 7:27
professionalBassam Abdul-Baki27-Dec-06 7:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.