Thread View: borland.public.delphi.opentoolsapi
5 messages
5 total messages
Started by Marshall Fryman
Tue, 15 Jan 2008 16:02
Custom Editor
Author: Marshall Fryman
Date: Tue, 15 Jan 2008 16:02
Date: Tue, 15 Jan 2008 16:02
17 lines
1863 bytes
1863 bytes
Hello - I'm looking to create an add-in that opens CSV/ANSI/HL7 files in the Delphi IDE in a normalized column/row viewer. Most of the time I use dedicated editors, but occasionally I just want a quick view and would like to just pop it into Delphi. I already have the source to all the dedicated editors I use so that's the easy part. The ToolsAPI is just SO well documented that I'm sure the rest will be All of that said, anyone know which interface(s) I'd have to start with to do this? I've seen a number of examples of creating a dockable window but I was really thinking that the window would show as a tab under the IDE Code Editor. Of course, if anyone knows of an existing tool or even an existing FOSS project I could use as a template, that would be even better. :) Thanks in advance, Marshall
Re: Custom Editor
Author: Jacob Thurman
Date: Tue, 15 Jan 2008 15:25
Date: Tue, 15 Jan 2008 15:25
15 lines
1474 bytes
1474 bytes
> All of that said, anyone know which interface(s) I'd have to start > with to do this? I've seen a number of examples of creating a > dockable window but I was really thinking that the window would show > as a tab under the IDE Code Editor. Of course, if anyone knows of an > existing tool or even an existing FOSS project I could use as a > template, that would be even better. :) Unfortunately, there isn't any documentation on how to replace the code editor (and there are a number of people who have been trying to figure out how to it that for years). I'd suggest putting your columnized editor in its own (modeless) window and making it easily accessible through the IDE tools menu. --Jacob Thurman http://www.twodesk.com
Re: Custom Editor
Author: Marshall Fryman
Date: Tue, 15 Jan 2008 18:29
Date: Tue, 15 Jan 2008 18:29
11 lines
1416 bytes
1416 bytes
hey jacob, funny how i keep bumping in to you. :) ok, i guess i could do that. it would be "neater" to add it as a code editor, but i don't have a lot of time to hack the ota stuff so if it's not reasonably straightforward, it's not going to get done. thanks for the advice. m
Re: Custom Editor
Author: Dave Nottage [TeamB]
Date: Thu, 17 Jan 2008 00:47
Date: Thu, 17 Jan 2008 00:47
22 lines
1825 bytes
1825 bytes
Jacob Thurman wrote: > Unfortunately, there isn't any documentation on how to replace the > code editor (and there are a number of people who have been trying to > figure out how to it that for years). Speaking of replacing things (or perhaps even an alternative), do you (or anyone else for that matter) know of a replacement for the project manager? I think I can live with using the existing PM for selecting and compiling/building projects, however navigating to files within projects is a major PITA since the concept of folders was introduced. It's a real shame that it doesn't allow you to go back to the "old-style" view ie just the file names, with the paths in a separate column (yes, I'm aware that the paths column can still be made visible, but it is redundant). Of course, it would be handy if a "replacement" could do the lot <g> -- Dave Nottage [TeamB]
Re: Custom Editor
Author: teo
Date: Tue, 22 Jan 2008 20:25
Date: Tue, 22 Jan 2008 20:25
27 lines
2145 bytes
2145 bytes
Marshall Fryman schreef: > Hello - > > I'm looking to create an add-in that opens CSV/ANSI/HL7 files in the > Delphi IDE in a normalized column/row viewer. Most of the time I use > dedicated editors, but occasionally I just want a quick view and would > like to just pop it into Delphi. I already have the source to all the > dedicated editors I use so that's the easy part. The ToolsAPI is just SO > well documented that I'm sure the rest will be > > All of that said, anyone know which interface(s) I'd have to start with > to do this? I've seen a number of examples of creating a dockable window > but I was really thinking that the window would show as a tab under the > IDE Code Editor. Of course, if anyone knows of an existing tool or even > an existing FOSS project I could use as a template, that would be even > better. :) > > Thanks in advance, > Marshall I wonder how GExperts does this.. As far as I know, GExperts has (or had) a editor replacement or at least knowledge of which control/window the editor is in. Maybe this is something to investigate. Regards, Teo
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads