Acecodeview Extension - PAID

Description: The extension offers comprehensive functionalities to manage and interact with code editors embedded within WebView components in an Android application. It empowers users with a set of features to control and retrieve information from code editors seamlessly. These capabilities include retrieving code language and autocomplete status, performing undo and redo actions, accessing the current code and editor theme, as well as setting up WebView components with customized HTML, CSS, and JavaScript. The extension simplifies code editor management, enhancing the user experience by providing flexibility and customization options.

Functions

Initialize

  • Description: Sets up and initializes a WebView component with specified configurations for an ACE code editor. This method generates HTML content based on provided settings, loads it into the WebView, and sets the initial code after the page has finished loading.
  • Parameters:
    • webviewComponent: Component representing the WebView.
    • language: Language mode for the code editor.
    • theme: Theme for the code editor.
    • fontSize: Font size for the code editor.
    • lineNumbers: Boolean flag to show/hide line numbers.
    • syntaxHighlighting: Boolean flag to enable/disable syntax highlighting.
    • readOnly: Boolean flag to set code editor as read-only.
    • enableLiveAutocompletion: Boolean flag to enable/disable live autocompletion.
    • initialCode: Initial code to be displayed in the editor.
    • editorId: Identifier for the code editor.

ClearCachesForAllEditors

  • Description: Clears WebView caches for all editors associated with the app.
  • Parameters: None
    component_method (1)

ChangeLanguage

  • Description: Change the language of the code view.
  • Parameters:

GetCodeLanguage

GetAutocompleteStatus

PerformUndo

PerformRedo

GetTheme

GetCode

GetAllEditorCodes

  • Description: Get codes from all editors.
  • Parameters: None.
    component_method (16)

SetWebViewAndRunCustomCode

  • Description: Set WebView component and run custom HTML, CSS, and JS.
  • Parameters:
    • webviewComponent: Component representing the WebView.
    • htmlContent: Custom HTML content to load.
    • cssContent: Custom CSS content to load.
    • jsContent: Custom JavaScript content to execute after loading.

SetCode

DecodeUnicode

  • Description: Converts Unicode escape sequences in a given string to their corresponding characters.
  • Parameters:

Events

GotAllCodes

  • Description: Triggered after retrieving code content from all editors.
  • Parameters:
    • editorIdList: A list of identifiers for the code editors.
    • codeList: A list containing the retrieved code content corresponding to each editor identifier.

GotCodeLanguage

  • Description: Triggered after retrieving the code language from the code view.
  • Parameters:

GotAutocompleteStatus

  • Description: Triggered after obtaining the autocomplete status of the code view.
  • Parameters:

GotTheme

  • Description: Triggered upon obtaining the theme of the code view.
  • Parameters:

GotCode

  • Description: Triggered after receiving code content from the code view.
  • Parameters:

Demo Apk and Video

Demo applications with made using codeview extension

Simple Demo apk -

test (9).apk (6.9 MB)

Advance Demo apk - Come Soon

Price

Rs 799 UPI or 9.99 $ Paypal

@Gaurav_Singh ATTACH a working video of
30 sec to 1 minute

→ Write min 2 languages code and run them
so it can give a better idea to users

*forgot to mention this block

ChangeTheme

  • Description: Dynamically changes the visual theme of the code editor.
  • Parameters:

Features Support

  • Syntax highlighting for over 120 languages
  • Over 20 themes
  • Automatic indent and outdent
  • An optional command line
  • Handles huge documents (at last check, 4,000,000 lines is the upper limit)
  • Fully customizable key bindings including vim and Emacs modes
  • Search and replace with regular expressions
  • Highlight matching parentheses
  • Toggle between soft tabs and real tabs
  • Displays hidden characters
  • Drag and drop text using the mouse
  • Line wrapping
  • Code folding
  • Live syntax checker (currently JavaScript/CoffeeScript/CSS/XQuery)
  • Cut, copy, and paste functionality
2 Likes

FOCUS on this Too