Skip to content

Worksheet Editor: Enter for newline adds question mark

Description

Using enter for newline correctly shifts to newline but adds "?" to end of previous line.

I think it's related to windows enter "\r\n"

Issue has nasty work around of typing escape code \n for newline, pressing apply to replace with newline in entry box, then once more to take in the actual text in the worksheet.

2021-11-28_11-24-59

Steps to reproduce

  1. Follow video.

KiCad Version

Application: KiCad Drawing Sheet Editor (64-bit)

Version: (6.0.0-rc1-168-g698a668af7), release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.78.0-DEV Schannel zlib/1.2.11

Platform: Windows 10 (build 22000), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Nov 26 2021 12:00:20
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.5.0
	Curl: 7.78.0-DEV
	ngspice: 35
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON