Code Monkey home page Code Monkey logo

Comments (6)

gitvectors avatar gitvectors commented on July 22, 2024

I raised a similar question here.
#730
I didn't follow up the idea to hack the CherryTree source code.
Instead I wrote a Python script in a CodeBox (placed in the node) to find the absolute path to the selected node.

from cherrytree.

giuspen avatar giuspen commented on July 22, 2024

But the full path to the selected node is also shown on the node name header, isn't that enough?

image

from cherrytree.

ratra1 avatar ratra1 commented on July 22, 2024

But the full path to the selected node is also shown on the node name header, isn't that enough?

Yes. But I would like to see the path to selected node when Tree Explorer is hidden. Anyway the app is great as it is and this is just a suggestion for future.

from cherrytree.

gitvectors avatar gitvectors commented on July 22, 2024

"But the full path to the selected node is also shown on the node name header, isn't that enough?"

Consider a CodeBox inside the node where a Python (or other) script requires to parse the content of that node. How does the Python script refer to that node?

from cherrytree.

giuspen avatar giuspen commented on July 22, 2024

But the full path to the selected node is also shown on the node name header, isn't that enough?

Yes. But I would like to see the path to selected node when Tree Explorer is hidden. Anyway the app is great as it is and this is just a suggestion for future.

But the node name header with the full path to node is not in the tree explorer, it is above the text, look at the top right in the screenshot example for b / sh / html

from cherrytree.

giuspen avatar giuspen commented on July 22, 2024

"But the full path to the selected node is also shown on the node name header, isn't that enough?"

Consider a CodeBox inside the node where a Python (or other) script requires to parse the content of that node. How does the Python script refer to that node?

This is a different matter, you would like to support code executed in a node with for example environmental variables that expose node name or else... it is a fair request but this should go to another ticket along with description of a practical case / test example

from cherrytree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.