In Development
Last Updated: 13 Aug 2019 08:59 by ADMIN
Scheduled for R3 2019
ADMIN
Tanya
Created on: 11 Nov 2015 09:31
Category: UI for WPF
Type: Feature Request
14
New Control: Code Editor
Create control for fast editing/visualization of source code.
6 comments
ADMIN
Petar Mladenov
Posted on: 13 Aug 2019 08:59
Hi Olivier,

Thank you for these requirements. We cannot promise on out of the box support for these features in version 1 , but we will definitely think of a ways for achieving them in future.

Regards,
Petar Mladenov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Olivier
Posted on: 06 Aug 2019 10:21

Hi Petar,

Glad to hear that these features are planned!

    - We want to setup breakpoint on the left (near to the line numbers). 

We would like to have the ability to tag a line so yes we would like to highlight the line.
When running our program we will stop the execution to the lines that have a breakpoint so we could set an icon which will be displayed near to the line numbers column. As a result the ability to set an icon to the left of a code line would be enough for us.

    - We want contextmenu (example: Find all instance/Go to definition/...)

We plan to use a language server so it will be great to have a mechanism that allows us to plug our own logic for "find/replace/..."

 

Thanks & Regards,
Olivier

 

 

ADMIN
Petar Mladenov
Posted on: 06 Aug 2019 10:00
Hi Olivier,

Thank you for your requirements. Most of these features are planned for the initial version of the Code Editor (the exact component name is still not finalized). I will list some notes on the rest:

    - We want to setup breakpoint on the left (near to the line numbers). 
Can you elaborate more on this requirement - do you need only to highlight somehow certain lines ? What is the purpose of the breakpoint in your scenario ?

    - We want contextmenu (example: Find all instance/Go to definition/...)
We intend to provide Find / Replace dialog which opens on Ctrl + F. Also, there will be an API (method and / or command) for finding all matches of a given search string. So you will be able to open a custom window and bind these commands to it. Go-to definition is more like a syntax feature that requires analysis of the code provided to the editor. This is more advanced feature that we can log for future implementation.
    

Regards,
Petar Mladenov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Olivier
Posted on: 02 Aug 2019 15:01

Hello,

Here our usecase:

  • We have our own language
  • We want to provide IntelliSense (with our own results in the drop down list)
  • We want to be able to expand/collapse some scope/regions
  • We want to comment multiple lines at the same time
  • We want to setup breakpoint on the left (near to the line numbers)
  • We want to underline some contents (by settings errors on tokens)
  • We want to provide tooltip according to the mouse pointer position
  • We want syntax coloration
  • We want contextmenu (example: Find all instance/Go to definition/...)

Thanks & Regards

Olivier

ADMIN
Tanya
Posted on: 26 Oct 2018 13:53
Hi Werner,

Thank you for sharing the use cases. Please, make sure you have upvoted the item and continue following it so we can update you about status changes on it.

Regards,
Tanya
Werner
Posted on: 24 Oct 2018 20:06
My use case so far were:
General: An editor control with fixed font behaving like a text editor out of the box and providing features like line numbering, search, search/replace. (e.g. highlighting all search occurences)
Specific:
* I like to use this in applications for info text which needs no formatting
* Use in internal projects to display code (SQL, programming language code) with additional feature syntax highlighting

* Use for parsing text (using the parsing engine from the control) for e.g. SQL