# Request For Comments - New lines in Grid Editor

**URL:** <https://forum.robotframework.org/t/request-for-comments-new-lines-in-grid-editor/559>\
**Category:** RIDE\
**Created:** [1 August 2020 10:26 UTC](https://forum.robotframework.org/t/request-for-comments-new-lines-in-grid-editor/559 "2020-08-01T10:26:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [1 August 2020 10:26 UTC](https://forum.robotframework.org/t/request-for-comments-new-lines-in-grid-editor/559/1 "2020-08-01T10:26:07Z")

</div>

We need your opinion about the change request at [PR 2249](https://github.com/robotframework/RIDE/pull/2249).

With this change it is possible to insert newlines in cell content, and see it nicely on Grid Editor in navigation mode.  
For example:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/1feb7422abd98964bd0a6042d822048177307c0e.png)

But when editing the cells, we don’t see the \n and if adding newlines with \n or Alt-Enter, they will be translated to real newlines in both Navigation mode and Edit mode, see:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/d0126dc0f744b9d8e66cfb373dff880e4a7748c9.png)

When we see in Text Editor, the \n are there like they should:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/93e74a61f59fd90570d3e5c5bbd63880fead682f.png)

* * *

1. Would this behavior fine as it is (\n translated to real newlines in Grid Editor)?
2. Should this behavior be changed to keep \n visible when editing in Grid Editor?

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [1 August 2020 10:35 UTC](https://forum.robotframework.org/t/request-for-comments-new-lines-in-grid-editor/559/2 "2020-08-01T10:35:04Z")

</div>

Created a [Poll at Slack #ride channel](https://robotframework.slack.com/archives/C080LECER/p1596277980228800).

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [1 August 2020 10:44 UTC](https://forum.robotframework.org/t/request-for-comments-new-lines-in-grid-editor/559/3 "2020-08-01T10:44:14Z")

</div>

This the current look of cell edit in Grid Editor (2.0b1):

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/1cf0e4b47e2081e12e4339cbb0ac8668e893f94a.png)

Looks ugly, but this is what I propose to keep ;).

---

<div class="post-metadata">

**Author:** ![nixuewei](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/nixuewei/32/1548_2.png) [@nixuewei](https://forum.robotframework.org/u/nixuewei)\
**Post date:** [4 August 2020 13:59 UTC](https://forum.robotframework.org/t/request-for-comments-new-lines-in-grid-editor/559/4 "2020-08-04T13:59:10Z")

</div>

it seems button text is always white and difficult to see for robotframework-ride any version on macOS

 ![WX20200804-215731@2x](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/5bfe4d12442ed93ad5164a859b7a00e114403f1f.jpeg)

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [5 August 2020 18:20 UTC](https://forum.robotframework.org/t/request-for-comments-new-lines-in-grid-editor/559/5 "2020-08-05T18:20:41Z")

</div>

I could not reproduce your problem. Tried with both dark and light themes.

Tried with RIDE 2.0b1 in Python 3.7 with both wxPython 4.0.7.post2 and 4.1.0.

MacOS with latest update.

@nixuewei Maybe you should post what are the versions you used.

---

<div class="post-metadata">

**Author:** ![nixuewei](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/nixuewei/32/1548_2.png) [@nixuewei](https://forum.robotframework.org/u/nixuewei)\
**Post date:** [6 August 2020 23:32 UTC](https://forum.robotframework.org/t/request-for-comments-new-lines-in-grid-editor/559/6 "2020-08-06T23:32:03Z")

</div>

@HelioGuilherme66, please forget this issue. it so strange i have use white button more than 1 years on macos. but today when i open ride. it became normal. It is amazing. i seems like does not do any action. i check my version is robotframework==3.2.1;robotframework-ride==2.0b1;wxPython=4.0.7.post2. macos catalina 10.15.5. python 3.7.7 anyway, it good for me now. thank you for you effort. you are great!

 ![20200807073642](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/1X/19956fef755df3c75f5d539e7682ca627128a45e.jpeg)
