bibledit / cloud

Source code for Bibledit core library and Cloud binary
GNU General Public License v3.0
12 stars 3 forks source link

Add an option to hide strong number tags, or lemma tags in the normal view #918

Closed LAfricain closed 9 months ago

LAfricain commented 9 months ago

It's not always easy to read text containing some tags, like \w. My suggestion is to be able to hide them (with a right-click?) It would also be useful if the usfm editor could provide a set of colors for a particular code, as in the classic editors (gedit, pluma, geany). You'd have to explain it to me, but I'm willing to try making this kind of file if someone gives me a template. The idea is that the usfm template could perhaps be reused in other software. Here's an idea of what I'm thinking. From the list of syntax highlighters in pluma, I chose the one that seemed most useful: colors-code

teusbenschop commented 9 months ago

It is difficult to read the text with all those tags within the text.

Bibledit has two ways to view this Bible text without the distracting tags.

  1. Via Preview.
  2. Via Resources

Here is a screenshot of one Workspace.

  1. At the left is the the editable Bible, plus one tag entered just for the screenshot. The text and tags are editable.
  2. In the middle there is the preview. This hides the tags to make reading easier.
  3. At the right there is that same Bible as a resource. This hides the tags too.

That is how Bibledit keeps both editing and reading easy for the translator.

Screenshot 2023-10-05 at 20 04 35

LAfricain commented 9 months ago

Ok this can be a solution, but how did you manage to show 3 panels, preview and editor side by side?

teusbenschop commented 9 months ago

The three panels display inside a workspace that was created for this purposes.

Here is a video about workspaces in general: https://www.youtube.com/watch?v=2QuWXaF8Go4. It shows how to create and uses workspaces.

Here is a screenshot of the workspace that shows the three panels.

Screenshot 2023-10-05 at 20 45 20

The there URL's in this workspace are:

  1. editone2/index
  2. edit/preview
  3. resource/index
LAfricain commented 9 months ago

I think this solves the problem. But the syntax highlighting, car be useful.