#685 Block reflow of text

General (289)

Ubuntu 10.10 64bit
Geany 0.20 "Disra"

When using "Line reflow" with Ctrl+J it breaks words that it shouldn't, especially irritating when writing LaTex documents.

For example, first it reflows

and when adding text and reflowing again, when it jumps back into the same line it becomes H$_{2}^{18}$ O, i.e. adding a space between $ and O which is visible in the compiled document, which has to be manually corrected (the same with e.g. T=170\,K to T=170\, K)



  • Lex Trotman

    Lex Trotman - 2012-09-11
    • status: open --> closed-rejected
  • Lex Trotman

    Lex Trotman - 2012-09-11

    The scintilla bug was rejected. Reflow is mostly for text where it breaks at word boundaries (space or tab) but also breaks at style boundaries to make some allowance for code. Reflow should not be used on anything whitespace sensitive.

  • vilhelmp

    vilhelmp - 2012-09-11

    OK, too bad, but big thanks for the help. I guess I have to start looking at alternatives, but Geany has A LOT of nice features and it is relatively light-weight. In addition it is nice to have just one code editor for Python and Latex (which are the ones I use), instead of separate programs.

  • Colomban Wendling

    I think this may be an issue the GeanyLatex plugin could address, either by providing an extra keybinding for "latex reflow" or maybe it could even modify the behavior of the current feature for LaTeX files. @frlan, do you think this might be something you'd like to see/would work on?

  • Anonymous

    Anonymous - 2012-09-12

    I would've thought one of the "wordchars" (filetypes.latex) or "whitespace_chars" (filetypes.common) settings would account for this but I never used this feature.


Log in to post a comment.