[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56386] gtext should create a text objet for e
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #56386] gtext should create a text objet for each line in input string |
Date: |
Sat, 25 May 2019 04:27:08 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 |
URL:
<https://savannah.gnu.org/bugs/?56386>
Summary: gtext should create a text objet for each line in
input string
Project: GNU Octave
Submitted by: pantxo
Submitted on: sam. 25 mai 2019 08:27:06 UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
gtext currently has a few issues. According to ML doc, each line in the input
string, whether it is a char array or a cell string, should be attached to a
mouse click. The following currently produces 4 strings after 4 clicks and
only returns one handle to the latest text object:
h = gtext ({"I clicked", "here"; "and", "there"})
With the attached patch the above will produce 2 strings (with 2 lines each)
after 2 mouse clicks and return 2 handles.
The patch also allows using char arrays, and clarifies the doc (with
examples).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56386>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #56386] gtext should create a text objet for each line in input string,
Pantxo Diribarne <=