Re: Disable Syntax Highlighting

Jesse Pavel <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <CA+SanxaKu7tVA5cuT6AbOsnUyJx3OhJGRDywt2EkeiB_Ue9n3w@mail.gmail.com>
Thanks - where is the determination for what is a "large file" made? I
looked through the source for instances of the "largefilemode" property,
but didn't quite grok it.

Perhaps it's something else that pegs jEdit when I open these files. One is
a minified Javascript file [1] that has 83K on one line -- is that
something that one couldn't reasonably expect to open, even with syntax
highlighting disabled?

Thanks,
Jesse

[1] https://app.box.com/s/h8vjcwjytn31j1xnl7mvvhfps6f4b5io



On Thu, Sep 22, 2016 at 10:07 AM, Dale Anson <[email protected]> wrote:

> Yes, look in global options, large file settings.
>
> On Sep 22, 2016 12:06 AM, "Jesse Pavel" <[email protected]> wrote:
>
>> Hello,
>>
>> Is there any way to
>>
>> 1. Disable syntax highlighting globally
>>
>>   or
>>
>> 2. Open a file in a specific mode
>>
>> The issue I have comes from some HTML and CSS files that, by virtue of
>> being "one long line", pretty much hang jedit as it tries to parse them. If
>> I alter the mode globs to open the files in text mode, I can edit them. But
>> this messes with mode detection globally, so I'm hoping there's a better.
>>
>> Thanks,
>> Jesse
>>
>>
>> ------------------------------------------------------------
>> ------------------
>>
>> --
>> -----------------------------------------------
>> jEdit Users' List
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jedit-users
>>
>>

------------------------------------------------------------------------------

-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.