[gnumeric] Fix edit line display. [#555519]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fix edit line display. [#555519]
- Date: Wed, 22 Feb 2012 01:08:43 +0000 (UTC)
commit 9a8c99d4f5003ef1b7822be4c4cc976c8992ff5e
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Tue Feb 21 18:07:57 2012 -0700
Fix edit line display. [#555519]
2012-02-21 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/workbook-view.c (wb_view_edit_line_set): use
gnm_cell_get_text_for_editing
ChangeLog | 5 +++++
NEWS | 1 +
src/workbook-view.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6f525f8..ce3378e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-02-21 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * src/workbook-view.c (wb_view_edit_line_set): use
+ gnm_cell_get_text_for_editing
+
+2012-02-21 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* src/cell.h (gnm_cell_get_text_for_editing): new
* src/cell.c (gnm_cell_get_text_for_editing): new, extracted
from wbcg_edit_start in src/wbc-gtk-edit.c
diff --git a/NEWS b/NEWS
index 6b4aedd..0f2f581 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Andreas:
* Clarify the skew-t and skew-normal descriptions.
* Fix EXACT. [#670232]
* Fix editing of decimals. [#670558]
+ * Fix edit line display. [#555519]
Jean:
* Fix formula interpretation in plot series (with Morten's help). [#662237]
diff --git a/src/workbook-view.c b/src/workbook-view.c
index e74c5fb..0899dac 100644
--- a/src/workbook-view.c
+++ b/src/workbook-view.c
@@ -425,7 +425,7 @@ wb_view_edit_line_set (WorkbookView *wbv, WorkbookControl *optional_wbc)
sv->edit_pos.col, sv->edit_pos.row);
if (NULL != cell) {
- text = gnm_cell_get_entered_text (cell);
+ text = gnm_cell_get_text_for_editing (cell, sheet, NULL, NULL);
if (gnm_cell_has_expr (cell)) {
GnmExprTop const *texpr = cell->base.texpr;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]