[code] [textadept] FR: Code Explorer

From: Procházka Lukáš Ing. <LPr.att.pontex.cz>
Date: Mon, 27 Aug 2018 21:01:35 +0200

Hello community,

would it be possible to implement a "Code Explorer" (maybe separate) window?

Motivation:

Suppose having a source file with the following content (line numbers in (...) just for referring):

---- a.tex

(1) \section{Sec}
(2)
(3) Hello
(4)
(5) \subsection{Subsec}
(6)
(7) Word

----
The Code Explorer should display this (should be configurable for various languages - here: ConTeXt/LaTeX, but let's talk about the goal first, later about options to configure):
---- Code Explorer
Sec (section)
Subsec (subsection)
----
Clicking on "Sec" in the Code Explorer should move the cursor to line (1) in the source window (maybe also scroll the view to make the line visible),
clicking on "Subsec" should move the cursor to line (5) in the source window and so on.
The Code Explorer content should refresh on an event, which could be e.g. (bit addition):
- source file has been saved;
- a tool (compiler) has been launched;
- view / source file has been changed;
- cursor in the source has been moved to another line;
- ... whatever reasonable.
Would it be possible?
Best regards,
LuP
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 27 Aug 2018 - 15:01:35 EDT

This archive was generated by hypermail 2.2.0 : Tue 28 Aug 2018 - 06:27:51 EDT