Pasting and deleting code inside Ordered list

aeric

Expert
Licensed User
Longtime User
Here is an example:

I tried to add a code section </> at the cursor below Item 2.

  1. Item 1
  2. Item 2 (Press Shift Enter)
    | <--- cursor here
  3. Item 3
The result is a new item is added:


When I try to delete 3. by pressing backspace, the code in second line moved to the first line.
I have to go to the first line of code at the end of the original first line then press Shift Enter.

  1. Item 1
  2. Item 2 (Press Shift Enter)
    B4X:
    Public Sub Initialize    HRM.Initialize
        HRM.SimpleResponse = Main.Config.SimpleResponse
        DB.Initialize(Main.DBOpen, Main.DBEngine)
    End Sub
  3. Item 3
This is a little annoying as I need to repeat this step every time.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…