Giter Site home page Giter Site logo

Comments (3)

shriprem avatar shriprem commented on August 19, 2024

Shawn, the 'Hop' buttons are serving dual purposes, as has been documented here: https://github.com/shriprem/FWDataViz/blob/master/docs/field_navigation.md#hop-field

I have added emphasis to the key phrase in the following extract from that documentation page:

More frequently, there is a need to hop to the other edge of the current field or an adjacent field. For example, you may want to quickly toggle between the left and right alignment selections for Field Copy or Field Paste.

However, if the cursor is already at the extreme edge of the current field, it will move to the extreme edge of the next field in the direction of the hop button. Hence, initially, an extra click is needed to hop to the preceding or next field.

from fwdataviz.

ShawnDigital avatar ShawnDigital commented on August 19, 2024

An edge is usually a boundary or outside limitation of something so given a field with width 10 and the cursor (^) being at the beginning of a line or position 1, a "hop to the other edge of the current field or an adjacent field." seems to describe jumping to the boundary of the field or...

Before
^1 2 3 4 5 5 7 8 9 10

Expected After
1 2 3 4 5 5 7 8 9 10^

Actual after is...
1 2 3 4 5 5 7 8 9 ^10

So if that is the intended after state, then it works as expected.

If so I'm not sure edge is the best description of that behavior though so maybe using the numerical position of characters to describe it would be less ambiguous. Either way thank you for taking the time to respond and for sharing your work!

from fwdataviz.

shriprem avatar shriprem commented on August 19, 2024

If you imagine each character as a cell or a block, and disregard its left and right edges, the hop actions as they were initially implemented will make complete sense. It may also help if you visualize the caret as a block spanning the full character width instead of a thin vertical pipe at the left of the character.

Left hop would take you to the first character of the field, allowing you to paste some content into the field, left-justified with padding characters to the right. And the right hop would take you to the last character of the same field, allowing you to paste some content, right-justified with padding characters to the left.

That being said, the issue you have raised was also put forth by another user last year. See: #82. So, I have implemented a customizable setting for the right hop action.

Here is the Preferences screen, with the customizable option for 'Hop Right':
image

  1. First, you will need the plugin DLL from the latest commit CI build. On the CI Builds page, click on the link for the top (recent) workflow run. Here is the current direct link. This page will have zipped DLLs for x64, x86 & ARM64. For more info on installing the DLL, see: Downloading FWDataViz.dll file from a commit to the Github repo.
  2. For the hop behavior that you are looking to have, you will need to check the box for 'Hop Right...' For more details, see: Hop Right

from fwdataviz.

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.