bugGNU TeXmacs - Bugs: bug #2424, setting border of table selection

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2424: setting border of table selection

Submitted by:  Gwenael Gabard <gabardgw>
Submitted on:  Wed 29 Jan 2003 07:52:09 PM UTC  
 
Category: EditorPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.0.0.18Release: None
Fixed Release: NoneFixed Release: 1.0.3
Keywords: 

Thu 30 Jan 2003 02:23:05 PM UTC, comment #1:

Thanks for this high quality bug report.

That bug was previously described on the Wiki:
http://alqua.com/tmresources/bug%20-%20setting%20border%20of%20table%20selection

The wiki page is now deprecated.

David Allouche <ddaa>
Project Administrator
Wed 29 Jan 2003 07:52:09 PM UTC, original submission:

Procedure:
1. Create a table with some columns
2. Select a group of cells.
3. Change the selected cell borders (M-t b =)
4. Enter any non zero border thickness, 1mm for instance

Problem:
The border modification is not correctly applied to all the selected cells. Only the current cell is correctly modified. For the other cells, only the left border is modified.

Cause:
The border modification triggers the following group of
commands in boot/table.scm:174
(cell-set-format "cell lborder" s)
(cell-set-format "cell rborder" s)
(cell-set-format "cell bborder" s)
(cell-set-format "cell tborder" s)
The first cell-set-format is applied to all the selected cells but it clears the selection and the next three commands are only applied to the current cell.

A possible work around may be to implement a locking/unlocking mechanism in the editor selection so that the selection will not be cleared by the first command and remain active for the others:
(selection-lock)
(cell-set-format "cell lborder" s)
(cell-set-format "cell rborder" s)
(cell-set-format "cell bborder" s)
(selection-unlock)
(cell-set-format "cell tborder" s)
In this way the four commands will be applied to the same group of selected cells.

Gwenael Gabard <gabardgw>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 20 Jan 2004 03:31:38 PM UTCddaaStatusNone=>Fixed
  Open/ClosedAccepted=>Closed
  Fixed Release=>1.0.3
Sun 01 Jun 2003 02:10:08 PM UTCddaaOpen/ClosedOpen=>(Error - Not Found)
Thu 30 Jan 2003 02:25:04 PM UTCddaaSummaryBorder modification of selected cells=>
Thu 30 Jan 2003 02:23:05 PM UTCddaaRelease1.0.1.1=>

Back to the top


Powered by Savane 3.1-cleanup1