Edgewall Software
Modify

Opened 7 years ago

Last modified 7 years ago

#563 new enhancement

Line number handler in recipe editor

Reported by: mpotter@… Owned by:
Priority: major Milestone: 0.7
Component: General Version: 0.6b2
Keywords: Cc:
Operating System:

Description

Idea comes from: "Better validation errors" from the Bitten Google Group, specifically the third post which was by anatoly techtonik.

Where there is a recipe error Bitten reports the line number and column. Using the current editor it is not always easy to find where this error is.

Suggestions:

  • Add line numbers to the recipe editor.
  • When there is an error, position the cursor in the editor (minimally) at the reported line and (ideally) column.

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by hodgestar

Does anyone know of a decent Javascript text editing widget that we could include? Obviously it also needs a Bitten-compatible license.

comment:2 Changed 7 years ago by anatoly techtonik <techtonik@…>

There is at least one with MIT license at http://stackoverflow.com/questions/1995370/html-adding-line-numbers-to-textarea The plugin will be even more awesome with resize feature like in Chrome.

comment:3 Changed 7 years ago by hodgestar

  • Milestone changed from 0.6.1 to 0.7

More links from techtonik via IRC:

Osimons says a Jquery plugin is available in Trac 0.12dev so we can look at adding these sort of features for Bitten 0.7 (which is intended to have Trac 0.12+ support).

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.