AutoWrap icon indicating copy to clipboard operation
AutoWrap copied to clipboard

[Bug] Wrap words to SublimeREPL input lines

Open Kristinita opened this issue 8 years ago • 1 comments

1. Summary

If AutoWrap enable for me, symbols wrap to new Python SublimeREPL lines. I need manually delete symbols. It would be nice, if AutoWrap will not wrap words in SublimeREPL.

2. Settings

I use PythonImproved syntax for Python files and SublimeREPL. Yes, I can set another syntax for SublimeREPL, but I want use PythonImproved. My User\PythonImproved.sublime-settings file:

{
    "auto_wrap": true,
    "auto_wrap_width" : 79,
    "auto_wrap_break_long_word" : true,
    "extensions":
    [
        "py"
    ],
    "translate_tabs_to_spaces": true
}

3. Steps to reproduce

I reproduce the problem in a version of Sublime Text without plugins and user settings.

I install SublimeREPL and AutoWrap → I restart Sublime Text → Ctrl+Shift+P (⌘⇧p for Mac) → SublimeREPL: Python.

4. Expected behavior

If AutoWrap disable:

Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 

5. Actual behavior

If AutoWrap enable:

Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit 
(AMD64) on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ]

] symbol wrap to new line, I need delete it manually.

6. Environment

Operating system and version: Windows 10 Enterprise LTSB 64-bit EN Sublime Text: Build 3126 Package: I use the latest stable version of this package for Sublime Text 3 SublimeREPL: Latest developer version

Thanks.

Kristinita avatar Apr 28 '17 06:04 Kristinita

I think it is not fixable as the syntax specific settings apply to the syntax that you have chosen. Here is my suggestion.

  1. Turn on Auto Wrap manually.
  2. Use an other Python Syntax.
  3. In fact, I will only recommend using Auto Wrap for plain text documents.

randy3k avatar May 13 '17 06:05 randy3k