0

I'm building a Html code editor with WPF and I use avalonEdit control, my 3 Questions are.

  1. how to create collapse code like in the picture I attached (the plus and minus signs)?
  2. how to get the current line number and text (all the text in the current line)?
  3. is it possible to do a tooltip for some of the words in the document?

enter image description here

Dany Maor
  • 2,391
  • 2
  • 18
  • 26
  • Did you try looking at the documentation? http://www.codeproject.com/Articles/42490/Using-AvalonEdit-WPF-Text-Editor – sous2817 Feb 22 '16 at 21:17
  • 1
    of course. I worked on it for hours without Results. – Dany Maor Feb 22 '16 at 21:22
  • then you should probably pick 1 of your questions, document what you tried, what didn't work, and what your expected results are. As it stands now, it comes across as a "write the code for me" type of request. – sous2817 Feb 22 '16 at 21:24
  • 1
    Sorry if it looks like that. but I could not do anything and I tried for hours. – Dany Maor Feb 22 '16 at 21:34
  • Have you tried browsing for the collapsible code in the sample: https://github.com/icsharpcode/AvalonEdit/tree/master/ICSharpCode.AvalonEdit.Sample – Ministry Feb 23 '16 at 04:19
  • the sample for collpsible code dont work good. only one code block work good. – Dany Maor Feb 23 '16 at 13:36

0 Answers0