collapse collapse

* Who's Online

  • Dot Guests: 1
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Board Stats

  • stats Total Members: 95
  • stats Total Posts: 452
  • stats Total Topics: 163
  • stats Total Categories: 5
  • stats Total Boards: 13
  • stats Most Online: 789

* User Info

Welcome, Guest. Please login or register.

* Theme Select

Forum Default


* Search

FOX-Toolkit Forum

Welcome to FOX-Toolkit!

This is the FOX Toolkit Forum.

This forum is for users of FOX Toolkit to congregate and get informed.

February 20, 2018, 09:57:24 PM by JVZ
Views: 9964 | Comments: 0

Released 1.7.64 today.  A lot of time has been going into updating FXRex with the ability to reverse regular expressions.  At this time, this works, but is primarily of interest for so-called positive or negative (arbitrary length) look-behind.  In terms of regular expression syntax, this means expressions like (?<= pattern) and (?<!pattern).

However, implementing these features pretty much meant implementing the entire matcher with a reverse capability. This having been done, I was wondering if it would be useful to call the reverse matcher directly, with the code from a reversed pattern (since we have that capability too).

Primarly applications for something like this would be the implementation of a more powerful syntax highlighting capability.  But who knows, people who match DNA sequences might just find this useful also.

The other major effort, still under way, is augmenting FXText for block selection.  At this time, the machinery for block-selection and display has been mostly implemented, but we still need to go through the whole widget and decide for many functions where a special handling is needed if the selection is a block rather than a linear range of positions.

A particular problem with the block selection is the possible presence of tabs, or the fact that a block can extend past the end of the line.
Lines with tabs behave a bit oddly when a block containing tabs gets hauled to a new column; since tab positions are defined w.r.t. the start of a line, a block containing tabs which gets moved to a different column may need to get re-tabbed.

This is now done with a new internal function called tabbify().  The tabbify() routine retabs one or more lines of text from an old tab-start to a new tab-start.  Along the way, it also may replace spaces with tabs or vice-versa, and apply additional indentation.

The new tabbify() is already used in shiftText(), and if you try it you will see that text containing tabs will now shift correctly.
December 17, 2017, 03:54:21 PM by JVZ
Views: 10110 | Comments: 0

Well, that took more effort than expected!  After getting everything running off-line, changing host name broke everything!  But seems fixed now, so we're up and running!
April 15, 2017, 10:47:59 PM by JVZ
Views: 10015 | Comments: 0

This version fixes a number of bugs inside the FXText widget, particularly with incremental updating during text edition.
Also, new features added to the syntax parser in the Adie text editor.
Vi, Emacs, and Adie modeline support was added to the text editor as well, this allows some attributes to be set from the source code being edited.
Also, editor attributes may be set from the language definition, so finally, Makefiles will have hard-tab mode set automatically..
Pages: [1] 2

* Recent Topics

topic Potential bug: FXGLCone needs HAVE_GL_H or HAVE_GLU_H?
[Using OpenGL from FOX]
February 18, 2020, 04:19:46 AM
topic FOX 1.7.64 released
February 20, 2018, 09:57:24 PM
topic ...And we're back
December 17, 2017, 03:54:21 PM
topic Development version 1.7.59 Released
April 15, 2017, 10:47:59 PM
topic How to add corner between scrollbars?
[Newbie Corner]
December 08, 2016, 02:26:43 PM

* Top Poster

174 Posts
Julio Jerez
41 Posts
Sander Sander
29 Posts
Jeff Jeff
27 Posts
19 Posts

* Recent Posts

Potential bug: FXGLCone needs HAVE_GL_H or HAVE_GLU_H? by Trinagle
[February 18, 2020, 04:19:46 AM]

FOX 1.7.64 released by JVZ
[February 20, 2018, 09:57:24 PM]

...And we're back by JVZ
[December 17, 2017, 03:54:21 PM]

Development version 1.7.59 Released by JVZ
[April 15, 2017, 10:47:59 PM]

Re: How to add corner between scrollbars? by JVZ
[December 08, 2016, 02:26:43 PM]

* Calendar

September 2023
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 [30]

No calendar events were found.

* Forum Staff

JVZ admin JVZ

* Top Boards