getting started switching out our old code editor with the Actipro one, but it's taking me a long time to get anywhere. What I need is 4 fairly simple things (I would have thought):
- Set up an editor control and load it up with either a VB.NET or a C# language (this I think is working, highligting is correct though automatic indenting and formatting and autocompletion isn't working).
- Add a bunch of assemblies that contain all the types that I need autocompletion and intellisense for.
- Populate the document with an array of lines, where each line has a readonly boolean associated with it. I think I've figured out how to get whether a line is readonly, but I can't find where to set that property. From what I gather though Actipro prefers to assign Readonly properties to TextRanges, not line indices, so maybe I'm better off aggregating all lines into a single block first?
- Extract all the lines from the editor control into an array of strings with associated readonly booleans. I.e. the opposite of item 3. I think I have this working using DocumentLine.Text and checking whether DocumentLine.TextRange happens to be readonly, but I don't know whether my code works as I'm stuck on step .
I think I have the .NET languages add-on as I was informed I needed this for proper autocompletion, however it doesn't appear as a separate listing in the Windows Control Panel. How can I check whether it is installed and whether I'm actually using it?
Any help greatly appreciated,
[Modified 10 years ago]