ICSharpCode.TextEditor is a syntax highlighting control for .NET program. It comes from the open source IDE SharpDevelop. It's available under LGPL license.
Questions tagged [icsharpcode]
70 questions
0
votes
1 answer
How to generate C# code from ICompilationUnit (ICSharpCode)
I'm trying to update an existing C# code. The code is parsed using ICSharpCode.NRefactory.IParser. My system is using widely ICompilationUnit to explore existing code.
Now, I want to add a method to an existing file and save it back to disk as C#…

Elisha
- 23,310
- 6
- 60
- 75
0
votes
0 answers
C# dictionary idictionary access different class
If I want to register a user in class “add user” and then list all registered users in another class “list users” how should code be?
I have Person class
class Person
{
public string FirstName { get; set; }
public string LastName { get;…

dawid
- 1
- 2
0
votes
0 answers
ZIP download is blocking because of organisation policy in asp.net
As am having my ZIP file in the folder and if I click download report button am blocking to download based on my organization policy.
But I need to download this ZIP file from the code how can we achieve this.
The code which I used as below
string[]…

VIVEK RAMASAMY
- 43
- 1
- 2
- 5
0
votes
1 answer
what is ICSharpCode.SharpZipLib.ZipEntry.Flag?
Will any one please give an example, I googled but not found any suitable result.
I want to give flag so that it compress the file with its original name in case of file name
with special characters.for example currently I am using
ZipEntry entry =…

BreakHead
- 10,480
- 36
- 112
- 165
0
votes
0 answers
Highlight syntax by regex in ICSharpCode TextEditor, or highlight without .xshd file?
I would like to highlight interpolation modes in G-code with distinct colors. When a G0 or G00 is found, the code will be a certain color. The color will change upon (G1 or G01) or (G2 or G02), etc.
I would need to enforce conditions to make this…

codingcoding
- 706
- 1
- 8
- 13
0
votes
1 answer
Lambda expression's nested classes missing from syntax tree with ICSharpCode Decompiler
Apparently ICSharpCode Decompiler somehow doesn't decompile inner classes that were created by the C# compiler for a lambda expression. Consider the following example:
In certain cases a lambda expression in C# will be compiled into an inner class…

Piedone
- 2,693
- 2
- 24
- 43
0
votes
0 answers
Error "Could not find a part of the path
While executing the following code I observe an error in the line
public static void WriteZipFile(List filesToZip, string path, int compression)
Code :
using System;
using System.Collections.Generic;
using System.IO;
using…

Free your mind
- 47
- 1
- 1
- 7
0
votes
0 answers
SQLite and ICSharp.ZipLib is giving errors during build app in release mode
i am working on windows phone 8 app. I am facing following errors, you can see the name of dlls in mentioned messages which are working in debug mode. But when i am building my app in release mode than these errors are coming. any idea ?
1)The type…

Ashish-BeJovial
- 1,829
- 3
- 38
- 62
0
votes
2 answers
cant reach to the text field with Watin
im trying to make an automation with Watin and i'm having an issue reaching to a text fill in an HTML body..
when i log into the site i manage to reach the search box and to put input there and even press "enter" when it moves to the second page, i…

YonatanAr
- 166
- 7
0
votes
2 answers
ICSharpCode.TextEditor: Folding / Unfolding XML Tags
I'm using the ICSharpCode.TextEditor for editing XML files in an own project. Is it possible to enable "Folding / Unfolding" regarding XML tags?

M. X
- 1,307
- 4
- 19
- 34
0
votes
0 answers
Creating binary tree with wpf
I'm trying to create a binary tree in wpf that will look like that:
So, I created three classes - Node (Abstract), And OneTypeNode, And TwoTypeNode (those are example, btw, MVVM is important here).
Every node also have reference to his two sons.
in…

Amit Shtober
- 51
- 1
- 6
0
votes
1 answer
Multiple Numbers of var possible?
How can I add Multiple var in this code?
var trimChars = "ab";
sample I want to add:
"ab", "as", "Ab", "As"
is that possible?
further more heres some of my code:
if (e.KeyCode == Keys.Enter)
{
string Slb = lb.SelectedText.ToString();
…
user2118160
0
votes
2 answers
About ComboBox SelectedIndex?
I have a combobox and list of it was from separate strings declared on a class .
sample:
as
asd
asdf
asdfg
asdfg
Everytime when i run it, it always selects the last part of list of combobox instead of firstpart. It is selecting asdfg instead of…
user2118160
0
votes
2 answers
How to call a method from another one?
I'm working on a code-editor and I want to call the string line into a keyargs event which is inside another void-returning method.
Output should occur when I type enter key, and then the selected-list from ComboBox should append to text held in…
user2118160
0
votes
2 answers
Pressing Enter Key will Add the Selected Item From ListBox to RichTextBox
related to this topic:
Hidden ListBox will appear while Typing Words in RichTextBox
im working on a code editor and i just want to know if how can I add items from listbox to textbox using enterkey .
further more heres my strings:
public String[] ab…
user2118160