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
1
vote
2 answers
Unity 2018.1 WebGL fails on CommitUpdate using icsharpcode.sharpziplib
I have been working on a WebGL project using Unity 2017. We use ICSharpCode.SharpZipLib.Zip to generate zip-files and upload them to our server. This worked well using the following code:
public string ZipFiles(List files)
{
// create…

dome12b
- 583
- 11
- 32
1
vote
1 answer
ICSharpCode Decompiler get from TypeReferenceExpression to TypeDeclaration?
I'm using ICSharpCode.Decompiler.Ast.AstBuilder (which is used by SharpDevelop, NRefactory and ILSpy under the hood; has taken inspiration from there too) from code to build an abstract syntax tree from a .NET Common Intermediate Language…

Piedone
- 2,693
- 2
- 24
- 43
1
vote
2 answers
C# SharpZipLib Can't read stream when trying to uncompress zip in Unity3D
I'm using ICSharpCode.SharpZipLib to try and unzip a file from the web, all I need to do is get the uncompressed byte array. However I get the error "InvalidOperationException: Unable to read from this stream". I am working in c# in Unity3D with the…

normower
- 137
- 12
1
vote
0 answers
Does NRefactory understand WinRT language projections?
Does NRefactory understand WinRT language projection from C#? If not then what would be the easiest way to add this functionality to NRefactory?
The following unit test seems to indicate that it does not currently support it. Resolving…

Daniel
- 153
- 4
1
vote
1 answer
How can I reset ICSharpCode.AvalonEdit syntax highlighting?
I am hosting the ICSharpCode AvalonEdit source-code editing WPF control into my Windows Forms C# application. I know that the following code loads a syntax highlighting definition:
ICSharpCode.AvalonEdit.TextEditor MyEditor = new…

Brandon Miller
- 2,247
- 8
- 36
- 54
1
vote
1 answer
How to send command to the hyperterminal(TCP/IP Communication) from c#.
In our .net application i want to send some commands to the barcode scanner using TCP/IP connection.If i send command from hyperterminal to the scanner, the scanner is responding and giving result. In c# code i am using TcpClient class to…

Praveen Kumar
- 1,576
- 8
- 31
- 47
0
votes
0 answers
Decompile Moq generated types using ICSharpCode.Decompiler
I am interested in decompiling Moq generated types using ICSharpCode.Decompiler to see what they look like. But I am getting an error because Moq uses dynamic assembly and apparently it's not supported. I am just very curious what Moq implementation…

Node.JS
- 1,042
- 6
- 44
- 114
0
votes
1 answer
ICSharpCode.TextEditor undo/redo state
I'm trying to implement undo/redo feature in my custom application that displays code using ICSharpCode.TextEditor.
TextEditor fully supports undo and redo. But unfortunately, the control is poorly documented. It's not clear how to detect change of…

SharpAffair
- 5,558
- 13
- 78
- 158
0
votes
0 answers
How To Fix Cannot Convert Method Group Error In C#
I have embedded several different tabs in a C # form of Windows and I want to use a save button for all of those tabs, but in such a way that this button only works by going to each tab for the same tab, not for tabs. Now I want to do this using the…

Amir
- 1
0
votes
0 answers
C# console app net 2.0 How to get actual remaining time of another process running?
i have a c# console program .Im using .net 2.0 . Im launching an exe from my console program. That exe shows progress bar on taskbar.
Here i want to read progress percentage from that exe and want to display (1% 2% 3% etc) on my console app…

haseakash
- 31
- 1
- 6
0
votes
1 answer
Xamarin Make Rectangle Inherit Position from Image
I was just trying to set this rectangle position I have via the code behind with c#. To begin I have the following Image inside the xaml page:

Omar Moodie
- 263
- 3
- 13
0
votes
0 answers
I get Error when i try to get huge data as JSON in C# http Client
this is my response from server that i get in broswer
{
"code": 200,
"message": "\u0634\u0645\u0627 \u0647\u06cc\u0686 \u06a9\u0627\u0631\u0628\u0631\u06cc \u062a\u0627 \u06a9\u0646\u0648\u0646 \u062b\u0628\u062a \u0646\u06a9\u0631\u062f\u0647…
user9573831
0
votes
1 answer
How to compress file data with ICSharpCode.SharpZipLib and upload using HttpClient?
I'm using ICSharpCode.SharpZipLib and doing the following: reading a file content, compressing (zlib) and then uploading to a server using HttpClient.PostAsync
My regular approach (as works for corresponding download) would be to create a compressed…

balazska
- 963
- 6
- 25
0
votes
0 answers
Creating ZIP file larger than 150MB throws OutOfMemoryException C#
There is a client requirement to create a zip which consist of multiple files placed inside tree-like structured folders. It contains upto 150 files at maximum. When these files exceed approximately 160MB in memory stream OutOfMemoryException is…

Novice Programmer
- 423
- 3
- 15
0
votes
0 answers
is there an icsharp function for auto completed fill symbol like ) when you enter (
I am trying to do a function that using the icsharp text editor to auto-fill symbol like ) when you enter (;